Fix opam build instructions in usage.rst

They should include dune subst when pinning as well

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
This commit is contained in:
Rudi Grinberg 2018-07-31 21:00:08 +02:00
parent 9ea98b1846
commit 5094d58774
1 changed files with 4 additions and 1 deletions

View File

@ -237,7 +237,10 @@ follows:
::
build: [["dune" "build" "-p" name "-j" jobs]]
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
]
``-p pkg`` is a shorthand for ``--root . --only-packages pkg --profile
release --default-target @install``. ``-p`` is the short version of