update component builder
This commit is contained in:
parent
b96c175229
commit
f9731606cb
5
Makefile
5
Makefile
|
@ -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
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue