Update sysimage and build scripts

This commit is contained in:
2021-10-15 08:14:04 -05:00
parent 9ebb2e49f9
commit ee58af73f0
4 changed files with 36 additions and 20 deletions

View File

@@ -1,15 +1,11 @@
JULIA := julia --color=yes --project=@.
JULIA := julia --project=.
SRC_FILES := $(wildcard src/*.jl test/*.jl)
VERSION := 0.5
all: docs test
build/sysimage.so: src/sysimage.jl Project.toml Manifest.toml
mkdir -p build
$(JULIA) src/sysimage.jl
build/test.log: $(SRC_FILES) build/sysimage.so
cd test; $(JULIA) --sysimage ../build/sysimage.so runtests.jl
@$(JULIA) src/sysimage.jl
clean:
rm -rf build/*
@@ -20,7 +16,8 @@ docs:
format:
julia -e 'using JuliaFormatter; format(["src", "test"], verbose=true);'
test: build/test.log
test:
@$(JULIA) --sysimage build/sysimage.so test/runtests.jl
test-watch:
bash -c "while true; do make test --quiet; sleep 1; done"