Permalink
Browse files

build commands

  • Loading branch information...
1 parent 40a007e commit 1d571ec8b3c7ce071a5e065700cd1acf7fc12e38 @paularmstrong committed Oct 31, 2012
Showing with 30 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +29 −0 Makefile
  3. 0 README.md
  4. 0 index.html
View
@@ -1,2 +1,3 @@
.DS_Store
node_modules/*
+tmp_build/*
View
@@ -0,0 +1,29 @@
+all:
+ @npm install
+
+out = 'tmp_build'
+clean:
+ @rm -rf ${out}
+
+SHA := $(shell git rev-parse HEAD)
+THIS_BRANCH := $(shell git branch)
+branch = gh-pages
+build: clean
+ @node_modules/.bin/still ./ -o ${out} -i "node_modules" -i "README" -i ".git" -i "package.json" -i "Makefile"
+ @git checkout ${branch}
+ @cp ${out}/* ./
+ @rm -rf ${out}
+ # @git commit -n -am "Automated build from ${SHA}"
+ # @git checkout ${THIS_BRANCH}
+
+port = 3000
+run:
+ @node_modules/.bin/still-server ./ -p ${port} -o
+
+lint:
+ @echo ''
+
+test:
+ @echo ''
+
+.PHONY: all, test, line
View
No changes.
View
No changes.

0 comments on commit 1d571ec

Please sign in to comment.