Update dependencies; generate sysimage

This commit is contained in:
2020-06-30 09:40:54 -05:00
parent 86ed87a1c5
commit c5f1750213
3 changed files with 142 additions and 66 deletions

View File

@@ -1,10 +1,18 @@
VERSION := 0.3
JULIA := julia --color=yes --project=.
JULIA := julia --color=yes --project=@.
SRC_FILES := $(wildcard src/*.jl test/*.jl)
all: docs
all: docs test
test:
$(JULIA) -e 'using Pkg; Pkg.test("RELOG")'
build/sysimage.so: src/sysimage.jl Project.toml Manifest.toml
$(JULIA) src/sysimage.jl
build/test.log: $(SRC_FILES) build/sysimage.so
@echo Running tests...
cd test; $(JULIA) --sysimage ../build/sysimage.so runtests.jl | tee ../build/test.log
clean:
rm -rf build/*
docs:
mkdocs build
@@ -12,4 +20,9 @@ docs:
docs-push:
rsync -avP docs/ isoron@axavier.org:/www/axavier.org/projects/RELOG/$(VERSION)/
test: build/test.log
test-watch:
bash -c "while true; do make test --quiet; sleep 1; done"
.PHONY: docs test