update component builder

This commit is contained in:
Radek Stepan 2013-10-17 14:32:46 +01:00
parent b96c175229
commit f9731606cb
4 changed files with 14 additions and 9 deletions

View File

@ -1,6 +1,9 @@
test:
./node_modules/.bin/mocha --compilers coffee:coffee-script --reporter spec --ui exports --bail
build:
./node_modules/.bin/apps-b ./src/ ./build/
publish:
git checkout gh-pages
git show master:build/build.js > build.js
@ -13,4 +16,4 @@ publish:
fi
git checkout master
.PHONY: test
.PHONY: build test

View File

@ -95,8 +95,8 @@ If you would like to run your own build for a custom version of the app, use the
In short:
```bash
$ npm install apps-b-builder -g
$ apps-b build ./src/ ./build/
$ npm install -d
$ make build
```
##Publish It

View File

@ -15,7 +15,8 @@
},
"devDependencies": {
"mocha": "~1.12.0",
"marked": "~0.2.9"
"marked": "~0.2.9",
"apps-b-builder": "~0.4.0"
},
"scripts": {
"test": "make test"

View File

@ -12,7 +12,10 @@
"component/aurora-tip": "*",
"component/marked": "*"
},
"scripts": [
"styles": [
"styles/fonts.css"
],
"apps-b": [
"app.coffee",
"modules/config.coffee",
@ -29,10 +32,8 @@
"templates/info.eco",
"templates/label.eco",
"templates/loading.eco",
"templates/progress.eco"
],
"styles": [
"styles/fonts.css",
"templates/progress.eco",
"styles/app.styl"
]
}