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.
RELOG/Makefile

31 lines
729 B

VERSION := 0.7
PKG := ghcr.io/anl-ceeesa/relog-web
clean:
rm -rfv build Manifest.toml test/Manifest.toml deps/formatter/build deps/formatter/Manifest.toml
docs:
rsync -avP --delete-after docs/build/ ../docs/$(VERSION)/
docker-build:
docker build --tag $(PKG):$(VERSION) .
docker build --tag $(PKG):latest .
docker-push:
docker push $(PKG):$(VERSION)
docker push $(PKG):latest
docker-run:
docker run -it --rm --name relog --volume $(PWD)/jobs:/app/jobs --publish 8000:8080 $(PKG):$(VERSION)
format:
cd deps/formatter; ../../juliaw format.jl
test: test/Manifest.toml
./juliaw test/runtests.jl
test/Manifest.toml: test/Project.toml
julia --project=test -e "using Pkg; Pkg.instantiate()"
.PHONY: docs test format