Skip to content

Commit

Permalink
v0.12-preview.120.18+252
Browse files Browse the repository at this point in the history
  • Loading branch information
xclerc committed Jan 16, 2019
1 parent b3420ba commit a3d26b5
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 41 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
@@ -1,6 +1,6 @@
The MIT License

Copyright (c) 2015--2018 Jane Street Group, LLC <opensource@janestreet.com>
Copyright (c) 2015--2019 Jane Street Group, LLC <opensource@janestreet.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
9 changes: 4 additions & 5 deletions Makefile
@@ -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
Empty file added dune
Empty file.
1 change: 1 addition & 0 deletions dune-project
@@ -0,0 +1 @@
(lang dune 1.5)
4 changes: 4 additions & 0 deletions example/dune
@@ -0,0 +1,4 @@
(executables (names test) (libraries variantslib)
(preprocess (pps ppx_variants_conv)))

(alias (name DEFAULT) (deps test.ml.pp test.mli.pp))
11 changes: 0 additions & 11 deletions example/jbuild

This file was deleted.

2 changes: 0 additions & 2 deletions jbuild

This file was deleted.

17 changes: 8 additions & 9 deletions ppx_variants_conv.opam
@@ -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.
"
3 changes: 3 additions & 0 deletions src/dune
@@ -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)))
10 changes: 0 additions & 10 deletions src/jbuild

This file was deleted.

Empty file added test/dune
Empty file.
3 changes: 0 additions & 3 deletions test/jbuild

This file was deleted.

0 comments on commit a3d26b5

Please sign in to comment.