Skip to content

Commit

Permalink
Switched to jbuilder and topkg
Browse files Browse the repository at this point in the history
  • Loading branch information
mmottl committed Aug 2, 2017
1 parent b1f4981 commit 7d097d5
Show file tree
Hide file tree
Showing 27 changed files with 605 additions and 8,980 deletions.
10 changes: 3 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
_build
API.docdir
*.bak
.*.swp
setup.data
setup.log
*.byte
*.native
.merlin
*.install
_build
3 changes: 0 additions & 3 deletions .merlin

This file was deleted.

12 changes: 0 additions & 12 deletions AUTHORS.txt

This file was deleted.

3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### 4.0.0 (2017-08-02)

* Switched to jbuilder and topkg
520 changes: 0 additions & 520 deletions COPYING.txt

This file was deleted.

38 changes: 0 additions & 38 deletions INSTALL.txt

This file was deleted.

523 changes: 523 additions & 0 deletions LICENSE.md

Large diffs are not rendered by default.

41 changes: 5 additions & 36 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,41 +1,10 @@
# OASIS_START
# DO NOT EDIT (digest: a3c674b4239234cbbe53afe090018954)

SETUP = ocaml setup.ml

build: setup.data
$(SETUP) -build $(BUILDFLAGS)

doc: setup.data build
$(SETUP) -doc $(DOCFLAGS)

test: setup.data build
$(SETUP) -test $(TESTFLAGS)
.PHONY: all clean doc

all:
$(SETUP) -all $(ALLFLAGS)

install: setup.data
$(SETUP) -install $(INSTALLFLAGS)

uninstall: setup.data
$(SETUP) -uninstall $(UNINSTALLFLAGS)

reinstall: setup.data
$(SETUP) -reinstall $(REINSTALLFLAGS)
jbuilder build @install --dev

clean:
$(SETUP) -clean $(CLEANFLAGS)

distclean:
$(SETUP) -distclean $(DISTCLEANFLAGS)

setup.data:
$(SETUP) -configure $(CONFIGUREFLAGS)

configure:
$(SETUP) -configure $(CONFIGUREFLAGS)

.PHONY: build doc test all install uninstall reinstall clean distclean configure
jbuilder clean

# OASIS_STOP
doc:
jbuilder build --dev @doc
61 changes: 0 additions & 61 deletions _oasis

This file was deleted.

27 changes: 0 additions & 27 deletions _tags

This file was deleted.

27 changes: 0 additions & 27 deletions configure

This file was deleted.

3 changes: 0 additions & 3 deletions API.odocl → doc/api.odocl
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# OASIS_START
# DO NOT EDIT (digest: 981da3f26f04485b07c5affc8ade293a)
src/Display_hasse_impl
src/Display_hasse_intf
src/Pomap_impl
src/Pomap_intf
src/Ptset
src/Store_impl
src/Store_intf
# OASIS_STOP
10 changes: 10 additions & 0 deletions examples/hasse/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
TARGETS = $(addsuffix .bc, hasse)

.PHONY: all clean

all:
@echo jbuilder: Entering directory \`$(abspath $(dir $(lastword $(PWD))))\'
@jbuilder build --dev $(TARGETS)

clean:
@jbuilder clean
1 change: 1 addition & 0 deletions examples/hasse/hasse.ml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

open Format
open Po_examples
open Pomap

(* Parse arguments *)
let n, len, choices =
Expand Down
12 changes: 12 additions & 0 deletions examples/hasse/jbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
(jbuild_version 1)

(executables (
(names (hasse))
(flags (
:standard
-w -9
-safe-string -strict-sequence
-principal -short-paths
))
(libraries (pomap))
))
1 change: 1 addition & 0 deletions jbuild-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(context default)
Loading

0 comments on commit 7d097d5

Please sign in to comment.