Skip to content

Commit

Permalink
Merge pull request #452 from samoht/jbuilder-fixes
Browse files Browse the repository at this point in the history
Jbuilder fixes
  • Loading branch information
samoht authored Jun 5, 2017
2 parents 62ba1ad + 4940441 commit d86350e
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ env:
global:
- ALCOTEST_SHOW_ERRORS=1
- REVDEPS="irmin-indexeddb"
- PINS="irmin.dev:. irmin-mem.dev:. irmin-fs.dev:. irmin-http.dev:. irmin-git.dev:. irmin-mirage.dev:. irmin-unix.dev:. git.dev:--dev git-http:--dev git-mirage:--dev git-unix:--dev"
- PINS="irmin.dev:. irmin-mem.dev:. irmin-fs.dev:. irmin-http.dev:. irmin-git.dev:. irmin-mirage.dev:. irmin-unix.dev:. git.dev:--dev git-http.dev:--dev git-mirage.dev:--dev git-unix.dev:--dev"
matrix:
- OCAML_VERSION=4.03 PACKAGE="irmin-fs.dev" TESTS=true
- OCAML_VERSION=4.04 PACKAGE="irmin-mem.dev" TESTS=true
Expand Down
28 changes: 1 addition & 27 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,36 +1,10 @@
BUILD=jbuilder build --dev
RUNTEST=jbuilder runtest -j 1 --dev
RUNTEST=jbuilder runtest -j1 --no-buffer --dev

all:
$(BUILD)
$(RUNTEST)

core:
$(BUILD) -p irmin

mem:
$(BUILD) -p irmin-mem
$(RUNTEST) test/irmin-mem

fs:
$(BUILD) -p irmin-fs
$(RUNTEST) test/irmin-fs

git:
$(BUILD) -p irmin-git
$(RUNTEST) test/main_git

http:
$(BUILD) -p irmin-http
$(RUNTEST) test/main_http

mirage:
$(BUILD) -p irmin-mirage

unix:
$(BUILD) -p irmin-unix
$(RUNTEST) test/main_unix

clean:
rm -rf _build

Expand Down
2 changes: 1 addition & 1 deletion irmin-unix.opam
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dev-repo: "https://github.com/mirage/irmin.git"
doc: "https://mirage.github.io/irmin/"

build: ["jbuilder" "build" "-p" name "-j" jobs]
build-test: ["jbuilder" "runtest" "test/irmin-mem"]
build-test: ["jbuilder" "runtest" "test/irmin-unix"]

depends: [
"jbuilder" {build}
Expand Down
1 change: 0 additions & 1 deletion test/irmin-fs/jbuild
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
(executable
((name test)
(modules (test))
(package irmin-fs)
(libraries (test_fs))))

(alias
Expand Down
1 change: 0 additions & 1 deletion test/irmin-git/jbuild
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
(executable
((name test)
(modules (test))
(package irmin-git)
(libraries (test_git))))

(alias
Expand Down
1 change: 0 additions & 1 deletion test/irmin-http/jbuild
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
(executable
((name test)
(modules (test))
(package irmin-htttp)
(libraries (test_http))))

(alias
Expand Down
1 change: 0 additions & 1 deletion test/irmin-mem/jbuild
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
(executable
((name test)
(modules (test))
(package irmin-mem)
(libraries (test_mem))))

(alias
Expand Down
1 change: 0 additions & 1 deletion test/irmin-unix/jbuild
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
(executable
((name test)
(modules (test))
(package irmin-unix)
(libraries (test_unix))))

(alias
Expand Down

0 comments on commit d86350e

Please sign in to comment.