Skip to content

Commit

Permalink
Makefile cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkreskiyan committed Oct 10, 2016
1 parent 22f035e commit 67ac49f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 67ac49f

Please sign in to comment.