Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port build system to jbuilder + configurator #6

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ setup.data
setup.log
*.native
*~
.merlin
*.install
44 changes: 12 additions & 32 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,41 +1,21 @@
# OASIS_START
# DO NOT EDIT (digest: a3c674b4239234cbbe53afe090018954)
build:
jbuilder build

SETUP = ocaml setup.ml
doc:
jbuilder build @doc

build: setup.data
$(SETUP) -build $(BUILDFLAGS)
test:
jbuilder runtest

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

test: setup.data build
$(SETUP) -test $(TESTFLAGS)

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

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

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

reinstall: setup.data
$(SETUP) -reinstall $(REINSTALLFLAGS)
uninstall:
jbuilder uninstall

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

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

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

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

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

# OASIS_STOP
144 changes: 0 additions & 144 deletions _oasis

This file was deleted.

122 changes: 0 additions & 122 deletions _tags

This file was deleted.

27 changes: 0 additions & 27 deletions configure

This file was deleted.

6 changes: 6 additions & 0 deletions cryptokit.descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
A library of cryptographic primitives.

Cryptokit includes block ciphers (AES, DES, 3DES), stream ciphers (ARCfour),
public-key crypto (RSA, DH), hashes (SHA-1, SHA-256, SHA-3), MACs, compression,
random number generation -- all presented with a compositional, extensible
interface.
22 changes: 22 additions & 0 deletions cryptokit.opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
opam-version: "1.2"
maintainer: "[email protected]"
authors: [
"Xavier Leroy"
]
homepage: "https://github.com/xavierleroy/cryptokit"
bug-reports: "https://github.com/xavierleroy/cryptokit/issues"
dev-repo: "https://github.com/xavierleroy/cryptokit.git"
license: "LGPL-2.1+ with OCaml linking exception"
build: [
["jbuilder" "build" "-p" name "-j" jobs]
]
build-test: [["jbuilder" "runtest" "-p" name "-j" jobs]]
depends: [
"jbuilder" {build}
"configurator" {build}
"stdio" {build}
"base" {build}
"conf-zlib"
"num"
]
available: [ocaml-version >= "4.02.3"]
Loading