Skip to content

Commit

Permalink
Copy info.json to app-prod
Browse files Browse the repository at this point in the history
  • Loading branch information
elemoine committed Jun 24, 2013
1 parent 41285b5 commit 3c03aff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ help:
all: prod dev lint test

.PHONY: prod
prod: app-prod/src/app.js app-prod/css/app.css app-prod/index.html .build-artefacts/lib.timestamp
prod: app-prod/src/app.js app-prod/css/app.css app-prod/index.html app-prod/info.json .build-artefacts/lib.timestamp

.PHONY: dev
dev: app/src/deps.js app/css/app.css app/index.html
Expand All @@ -38,6 +38,10 @@ app-prod/css/app.css: app/css/app.css node_modules
mkdir -p app-prod/css
node_modules/.bin/lessc --yui-compress $< $@

# Temporary: the entire rule should go away eventually
app-prod/info.json: app/info.json
cp $< $@

app/css/app.css: app/css/app.less node_modules
node_modules/.bin/lessc $< $@

Expand Down

0 comments on commit 3c03aff

Please sign in to comment.