This repository was archived by the owner on Jan 4, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +18
-1
lines changed Expand file tree Collapse file tree 4 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ release.sh
2222/bower_components /
2323/docker /delivery /
2424/doc /
25+ /docs /
2526/node_modules /
2627/gradle /
2728/.gradle /
Original file line number Diff line number Diff line change 3434 @gulp serve --tag $(VERSION )
3535
3636doc :
37+ @rm -rf docs && mkdir -p docs
38+ @sh gp-custom.sh
3739 @gulp doc
Original file line number Diff line number Diff line change 1+ #! /bin/bash -e
2+
3+ src=${PWD}
4+
5+ cd docs > /dev/null
6+ echo " {
7+ \" directory\" : \" components\"
8+ }
9+ " > .bowerrc
10+ bower install -q ${src}
11+ cp -r ${src} /bower_components/* components # FIXME hack to override installed deps and install dev ones
12+
13+ echo " <META http-equiv=" refresh" content=\" 0;URL=components/myscript/\" >" > index.html
14+ cd - > /dev/null
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ var serveTask = function () {
9797} ;
9898
9999gulp . task ( 'doc' , function ( ) {
100- return docTask ( fileList , 'dist/doc/ ' ) ;
100+ return docTask ( fileList , 'docs/api ' ) ;
101101} ) ;
102102gulp . task ( 'clean' , function ( ) {
103103 return cleanTask ( [ '.tmp' , 'dist' ] ) ;
You can’t perform that action at this time.
0 commit comments