~ihabunek/triglav

ref: f8f7b939d718089aa8ab1b9939d768fd7cf3a2ec triglav/Makefile -rw-r--r-- 368 bytes
f8f7b939Ivan Habunek Fix flag for starting only repo 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.PHONY: release deploy

release:
	mix deps.get --only prod
	MIX_ENV=prod mix compile
	npm install --prefix ./assets
	npm run deploy --prefix ./assets
	mix phx.digest
	MIX_ENV=prod mix release

deploy:
	rsync --archive --compress --delete --links --verbose _build/prod bezdomni:projects/triglav
	# TODO: run on remote server
	# ./triglav eval "Triglav.Release.migrate"