114.33+30

This commit is contained in:
Jeremie Dimino 2017-02-27 15:54:03 +00:00
parent dc2619c18e
commit 407f09fe3a
4 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,4 @@
INSTALL_ARGS := $(if $(PREFIX),--prefix $(PREFIX),)
NAME := ppx_let NAME := ppx_let
# Default rule # Default rule
@ -5,10 +6,10 @@ default:
jbuilder build-package $(NAME) jbuilder build-package $(NAME)
install: install:
opam-installer -i --prefix $(PREFIX) $(NAME).install jbuilder install $(INSTALL_ARGS)
uninstall: uninstall:
opam-installer -u --prefix $(PREFIX) $(NAME).install jbuilder uninstall $(INSTALL_ARGS)
reinstall: uninstall reinstall reinstall: uninstall reinstall

View File

@ -6,7 +6,7 @@ bug-reports: "https://github.com/janestreet/ppx_let/issues"
dev-repo: "https://github.com/janestreet/ppx_let.git" dev-repo: "https://github.com/janestreet/ppx_let.git"
license: "Apache-2.0" license: "Apache-2.0"
build: [ build: [
["jbuilder" "build-package" "ppx_let" "-j" jobs] ["jbuilder" "build-package" "ppx_let" "-j" jobs]
] ]
depends: [ depends: [
"jbuilder" "jbuilder"

View File

@ -4,3 +4,5 @@
(kind ppx_rewriter) (kind ppx_rewriter)
(libraries (ppx_core ppx_driver)) (libraries (ppx_core ppx_driver))
(preprocess no_preprocessing))) (preprocess no_preprocessing)))
(jbuild_version jane_street)

View File

@ -4,3 +4,5 @@
(toplevel_expect_tests (toplevel_expect_tests
((libraries (ppx_let)))) ((libraries (ppx_let))))
(jbuild_version jane_street)