Skip to content

Commit fca96e3

Browse files
committed
Add 'ce' command to compile with latest CE in Docker container
Signed-off-by: onox <[email protected]>
1 parent 50e882c commit fca96e3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ installcmd = $(GNATINSTALL) -p \
1919
--ali-subdir=$(alidir) \
2020
--prefix=$(PREFIX)
2121

22-
.PHONY: build tests tools debug clean coverage prove install uninstall
22+
.PHONY: build tests tools debug clean coverage prove ce install uninstall
2323

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

45+
ce:
46+
docker run --rm -it -v ${PWD}:/test -u $(shell id -u):$(shell id -g) -w /test alire/gnat:community-latest make tools
47+
4548
tests: build_test
4649
./tests/unit/test_bindings
4750

0 commit comments

Comments
 (0)