From 67ac49fe30d39ec4e19e8f63693185f470bd6681 Mon Sep 17 00:00:00 2001 From: Alex Kreskiyan Date: Mon, 10 Oct 2016 17:58:29 +0300 Subject: [PATCH] Makefile cleanup --- Makefile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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