extract commit update js into a separate file

This commit is contained in:
Michael Nutt
2014-03-02 00:43:20 -05:00
parent 4689d53305
commit b2965bf432
8 changed files with 337 additions and 104 deletions

View File

@@ -26,10 +26,13 @@ deps:
go get github.com/mattn/go-sqlite3
go get github.com/russross/meddler
embed:
embed: js
cd cmd/droned && rice embed
cd pkg/template && rice embed
js:
cd cmd/droned/assets && find js -name "*.js" ! -name '.*' ! -name "main.js" -exec cat {} \; > js/main.js
build:
cd cmd/drone && go build -o ../../bin/drone
cd cmd/droned && go build -o ../../bin/droned