mirror of https://github.com/ANL-CEEESA/RELOG.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
512 B
26 lines
512 B
JULIA := julia --color=yes --project=@.
|
|
SRC_FILES := $(wildcard src/*.jl test/*.jl)
|
|
VERSION := 0.4
|
|
|
|
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
|
|
|
|
clean:
|
|
rm -rf build/*
|
|
|
|
docs:
|
|
mkdocs build -d ../docs/$(VERSION)/
|
|
|
|
test: build/test.log
|
|
|
|
test-watch:
|
|
bash -c "while true; do make test --quiet; sleep 1; done"
|
|
|
|
.PHONY: docs test
|