Permalink
Browse files

Merge pull request #351 from nvh/feature/add-generator-to-dist

Added latest generator build to the distribution
  • Loading branch information...
nvh committed Apr 26, 2016
2 parents b12a41f + 4c12da6 commit 996220d90aee3d74f32ccd385370af8dda0ec5df
Showing with 3 additions and 0 deletions.
  1. +3 −0 Makefile
@@ -3,6 +3,8 @@ bin = $(pwd)/node_modules/.bin
coffee = "$(bin)/coffee"
githash = `git rev-parse --short HEAD`
gulp = "$(bin)/gulp"
generatorHost = http://framergenerator-update.s3-website-us-east-1.amazonaws.com/
latestGenerator = curl "$(generatorHost)latest.txt"
all: build
@@ -55,6 +57,7 @@ dist: build
mkdir -p build/Framer/Project/framer
cp build/framer.js build/Framer/Project/framer/framer.js
cp build/framer.js.map build/Framer/Project/framer/framer.js.map
cd build/Framer; wget "$(generatorHost)`$(latestGenerator)`" -O "generator.tgz"; tar zxf "./generator.tgz"; rm "./generator.tgz"
find build/Framer -name ".DS_Store" -depth -exec rm {} \;
cd build; zip -r Framer.zip Framer

0 comments on commit 996220d

Please sign in to comment.