Skip to content
Makefile 637 B
Newer Older
all: pull sub build push clean

pull:
	git pull

sub:
	git submodule update --init --recursive

conf:
	cp -r ./config/keys ./web

build: conf
	docker-compose build

up: build
	docker-compose up

push:
	docker push cr.unil.ch/icnml_web
	docker push cr.unil.ch/icnml_redis

clean:
	docker rmi cr.unil.ch/icnml_web
	docker rmi cr.unil.ch/icnml_redis

update:
	git submodule foreach git pull

appupdate: update
	-git add web
	-git commit -m "App update"

libupdate: update
	-git add web/library/MDmisc
	-git add web/library/NIST
	-git add web/library/PiAnoS
	-git add web/library/PMlib
	-git add web/library/WSQ
	-git commit -m "Lib update"