Skip to content

Commit

Permalink
Merge pull request #7 from FoxComm/feature/build-package
Browse files Browse the repository at this point in the history
Make package
  • Loading branch information
arodionova authored Oct 10, 2016
2 parents 50175da + 10aec85 commit 22f035e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ logs
*.iml

# package
firebrand.tar.bz2
the-perfect-gourmet.tar.bz2

# certificates
public_key.pem
11 changes: 6 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
archive = the-perfect-gourmet.tar.bz2

setup:
npm install
Expand All @@ -9,11 +10,11 @@ build-production:
test -f .env && export eval `cat .env` || true && NODE_ENV=production ./node_modules/.bin/gulp build

package: build
touch firebrand.tar.bz2
tar --exclude 'firebrand.tar.bz2' -jcf firebrand.tar.bz2 ./
touch $(archive)
tar --exclude '$(archive)' -jcf $(archive) ./

package-production: build-production
touch firebrand.tar.bz2
tar --exclude 'firebrand.tar.bz2' -jcf firebrand.tar.bz2 ./
touch the-perfect-gourmet.tar.bz2
tar --exclude '$(archive)' -jcf $(archive) ./

.PHONY: setup build package
.PHONY: setup build build-production package package-production
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# The Perfect Gourmet

[![Build status](https://badge.buildkite.com/68cb05a9ec22487b81ecc2ab3befcd42c7648b78416a65e708.svg)](https://buildkite.com/foxcommerce/the-perfect-gourmet)

The Perfect Gourmet store. Isomorphic React app powered by FoxComm's backend API.

## Local Development
Expand Down

0 comments on commit 22f035e

Please sign in to comment.