Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
21 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
INSTALL_ARGS := $(if $(PREFIX),--prefix $(PREFIX),) | ||
|
||
# Default rule | ||
default: | ||
jbuilder build @install | ||
dune build | ||
|
||
install: | ||
jbuilder install $(INSTALL_ARGS) | ||
dune install $(INSTALL_ARGS) | ||
|
||
uninstall: | ||
jbuilder uninstall $(INSTALL_ARGS) | ||
dune uninstall $(INSTALL_ARGS) | ||
|
||
reinstall: uninstall install | ||
|
||
clean: | ||
rm -rf _build | ||
dune clean | ||
|
||
.PHONY: default install uninstall reinstall clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
(lang dune 1.5) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
(executables (names test) (libraries variantslib) | ||
(preprocess (pps ppx_variants_conv))) | ||
|
||
(alias (name DEFAULT) (deps test.ml.pp test.mli.pp)) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,22 @@ | ||
opam-version: "1.2" | ||
opam-version: "2.0" | ||
maintainer: "opensource@janestreet.com" | ||
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"] | ||
homepage: "https://github.com/janestreet/ppx_variants_conv" | ||
bug-reports: "https://github.com/janestreet/ppx_variants_conv/issues" | ||
dev-repo: "git+https://github.com/janestreet/ppx_variants_conv.git" | ||
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/ppx_variants_conv/index.html" | ||
license: "MIT" | ||
build: [ | ||
["jbuilder" "build" "-p" name "-j" jobs] | ||
["dune" "build" "-p" name "-j" jobs] | ||
] | ||
depends: [ | ||
"ocaml" {>= "4.04.2"} | ||
"base" | ||
"variantslib" | ||
"jbuilder" {build & >= "1.0+beta18.1"} | ||
"ocaml-migrate-parsetree" {>= "1.0"} | ||
"ppxlib" {>= "0.1.0"} | ||
"dune" {build & >= "1.5.1"} | ||
"ppxlib" {>= "0.4.0"} | ||
] | ||
available: [ ocaml-version >= "4.04.2" ] | ||
descr: " | ||
Generation of accessor and iteration functions for ocaml variant types | ||
|
||
synopsis: "Generation of accessor and iteration functions for ocaml variant types" | ||
description: " | ||
Part of the Jane Street's PPX rewriters collection. | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
(library (name ppx_variants_conv) (public_name ppx_variants_conv) | ||
(kind ppx_deriver) (ppx_runtime_libraries variantslib) | ||
(libraries base ppxlib) (preprocess (pps ppxlib.metaquot))) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.