diff --git a/Makefile b/Makefile index 95e188d8..bc01b7f9 100644 --- a/Makefile +++ b/Makefile @@ -3,18 +3,18 @@ archive = the-perfect-gourmet.tar.bz2 setup: npm install -build: +build: setup test -f .env && export eval `cat .env` || true && ./node_modules/.bin/gulp build - -build-production: - test -f .env && export eval `cat .env` || true && NODE_ENV=production ./node_modules/.bin/gulp build - -package: build touch $(archive) tar --exclude '$(archive)' -jcf $(archive) ./ -package-production: build-production - touch the-perfect-gourmet.tar.bz2 - tar --exclude '$(archive)' -jcf $(archive) ./ +docker: build + docker build --tag firebrand . + +clean: + rm -rf ./node_modules + +test: + npm test -.PHONY: setup build build-production package package-production +.PHONY: setup build docker clean test