-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #218 from avsm/rel-3.3
prepare release 3.3.0
- Loading branch information
Showing
32 changed files
with
159 additions
and
173 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
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,31 +1,18 @@ | ||
.PHONY: all clean fuzz build-fuzz | ||
|
||
all: | ||
jbuilder build @install --dev | ||
dune build | ||
|
||
clean: | ||
jbuilder clean | ||
dune clean | ||
|
||
test: | ||
jbuilder runtest --dev | ||
dune runtest | ||
|
||
build-fuzz: | ||
jbuilder build --dev fuzz/fuzz.exe | ||
dune build fuzz/fuzz.exe | ||
|
||
fuzz: build-fuzz | ||
mkdir -p _build/in | ||
echo > _build/in/empty | ||
afl-fuzz -i _build/in -o _build/out -- _build/default/fuzz/fuzz.exe @@ | ||
|
||
REPO=../../mirage/opam-repository | ||
PACKAGES=$(REPO)/packages | ||
# until we have https://github.com/ocaml/opam-publish/issues/38 | ||
pkg-%: | ||
topkg opam pkg -n $* | ||
mkdir -p $(PACKAGES)/$* | ||
cp -r _build/$*.* $(PACKAGES)/$*/ | ||
cd $(PACKAGES) && git add $* | ||
|
||
PKGS=$(basename $(wildcard *.opam)) | ||
opam-pkg: | ||
$(MAKE) $(PKGS:%=pkg-%) |
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,5 @@ | ||
(library | ||
(name async_cstruct) | ||
(wrapped false) | ||
(public_name cstruct-async) | ||
(libraries core_kernel cstruct async_kernel async_unix)) |
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
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
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
(lang dune 1.0) | ||
(name cstruct) |
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 @@ | ||
(executable | ||
(name fuzz) | ||
(libraries cstruct crowbar fmt)) |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
(install | ||
(section lib) | ||
(files cstruct.js) | ||
(package cstruct)) |
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,7 @@ | ||
(library | ||
(name cstruct) | ||
(public_name cstruct) | ||
(modules cstruct) | ||
(wrapped false) | ||
(libraries sexplib) | ||
(c_names cstruct_stubs)) |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
(executables | ||
(libraries cstruct alcotest) | ||
(names tests bounds)) | ||
|
||
(alias | ||
(name runtest) | ||
(package cstruct) | ||
(deps | ||
(:< tests.exe)) | ||
(action | ||
(run %{<} -e))) |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
(library | ||
(name cstruct_lwt) | ||
(wrapped false) | ||
(public_name cstruct-lwt) | ||
(libraries cstruct lwt.unix)) |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
(library | ||
(name ppx_cstruct) | ||
(public_name ppx_cstruct) | ||
(kind ppx_rewriter) | ||
(wrapped false) | ||
(ppx_runtime_libraries cstruct) | ||
(preprocess | ||
(pps ppx_tools_versioned.metaquot_404)) | ||
(libraries ocaml-migrate-parsetree ppx_tools_versioned | ||
ppx_tools_versioned.metaquot_404 bigarray)) |
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
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,29 @@ | ||
(executables | ||
(libraries cstruct-unix) | ||
(preprocess | ||
(pps ppx_cstruct)) | ||
(names pcap basic enum)) | ||
|
||
(alias | ||
(name runtest) | ||
(package ppx_cstruct) | ||
(deps | ||
(:< pcap.exe)) | ||
(action | ||
(run %{<}))) | ||
|
||
(alias | ||
(name runtest) | ||
(package ppx_cstruct) | ||
(deps | ||
(:< basic.exe)) | ||
(action | ||
(run %{<}))) | ||
|
||
(alias | ||
(name runtest) | ||
(package ppx_cstruct) | ||
(deps | ||
(:< enum.exe)) | ||
(action | ||
(run %{<}))) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.