Skip to content

Commit

Permalink
Fix build instructions
Browse files Browse the repository at this point in the history
This will make them resilient against adding multiple opam packages to the repo.
And also, it will use the number of jobs as set by OPAM.
  • Loading branch information
rgrinberg authored and jordwalke committed Nov 9, 2017
1 parent 0ae6302 commit 2e6291c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion reason.opam
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ bug-reports: "https://github.com/facebook/reason/issues"
dev-repo: "git://github.com/facebook/reason.git"
tags: [ "syntax" ]
build: [
["jbuilder" "build"]
["jbuilder" "build" "-p" name "-j" jobs]
]
build-test: [["jbuilder" "runtest" "-p" name "-j" jobs]]
depends: [
"jbuilder" {build}
"ocamlfind" {build}
Expand Down
3 changes: 2 additions & 1 deletion reason.opam.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ bug-reports: "https://github.com/facebook/reason/issues"
dev-repo: "git://github.com/facebook/reason.git"
tags: [ "syntax" ]
build: [
["jbuilder" "build"]
["jbuilder" "build" "-p" name "-j" jobs]
]
build-test: [["jbuilder" "runtest" "-p" name "-j" jobs]]
depends: [
"jbuilder" {build}
"ocamlfind" {build}
Expand Down

0 comments on commit 2e6291c

Please sign in to comment.