Skip to content

Commit

Permalink
Add 'ce' command to compile with latest CE in Docker container
Browse files Browse the repository at this point in the history
Signed-off-by: onox <denkpadje@gmail.com>
  • Loading branch information
onox committed Jul 12, 2020
1 parent 50e882c commit fca96e3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ installcmd = $(GNATINSTALL) -p \
--ali-subdir=$(alidir) \
--prefix=$(PREFIX)

.PHONY: build tests tools debug clean coverage prove install uninstall
.PHONY: build tests tools debug clean coverage prove ce install uninstall

build:
$(GNATMAKE) -P tools/json_ada.gpr -cargs $(CFLAGS)
Expand All @@ -42,6 +42,9 @@ clean:
prove:
$(GNATPROVE) --level=4 --prover=all --mode=check -P tools/json_ada.gpr

ce:
docker run --rm -it -v ${PWD}:/test -u $(shell id -u):$(shell id -g) -w /test alire/gnat:community-latest make tools

tests: build_test
./tests/unit/test_bindings

Expand Down

0 comments on commit fca96e3

Please sign in to comment.