fix(dashboard): add moment to bower dependencies

This commit is contained in:
Brandon Philips 2013-10-08 11:06:22 -07:00
parent 6e278294af
commit 13f7257dd7
4 changed files with 4272 additions and 5034 deletions

View File

@ -11,7 +11,8 @@
"angular-resource": "~1.2.0-rc.2",
"angular-cookies": "~1.2.0-rc.2",
"angular-sanitize": "~1.2.0-rc.2",
"d3": "~3.3.6"
"d3": "~3.3.6",
"moment": "~2.3.0"
},
"devDependencies": {
"angular-mocks": "~1.2.0-rc.2",

View File

@ -1,11 +1,17 @@
#!/bin/sh
#!/bin/bash -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd ${DIR}
git clean -x -f dist
npm install
bower install
grunt build
git clean -x -f dashboard/dist
export GOPATH="${DIR}/../"
for i in `find dashboard/dist -type f`; do
file=$(echo $i | sed 's#dashboard/dist/##g' | sed 's#/#-#g')
for i in `find dist -type f`; do
file=$(echo $i | sed 's#dist/##g' | sed 's#/#-#g')
go build github.com/jteeuwen/go-bindata
./go-bindata -pkg "resources" -toc -out dashboard/resources/$file.go -prefix dashboard/dist $i
./go-bindata -pkg "resources" -toc -out resources/$file.go -prefix dist $i
done

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff