fix(build): publish docs as well and correct bench press docs

This commit is contained in:
Tobias Bosch
2015-03-27 16:45:35 -07:00
parent 50f8892c6b
commit 8c5d9d372f
4 changed files with 9 additions and 7 deletions

View File

@ -152,7 +152,10 @@ var CONFIG = {
copy: {
js: {
cjs: {
src: ['modules/**/README.js.md', 'modules/**/package.json', 'modules/**/*.cjs'],
src: [
'modules/**/*.md', '!modules/**/*.dart.md', 'modules/**/*.png',
'modules/**/*.cjs'
],
pipes: {
'**/*.cjs': gulpPlugins.rename({extname: '.js'}),
'**/*.js.md': gulpPlugins.rename(function(file) {
@ -171,7 +174,10 @@ var CONFIG = {
}
},
dart: {
src: ['modules/**/README.dart.md', 'modules/**/*.dart', 'modules/*/pubspec.yaml', 'modules/**/*.css', '!modules/**/e2e_test/**'],
src: [
'modules/**/*.md', '!modules/**/*.js.md', 'modules/**/*.png',
'modules/**/*.dart', 'modules/*/pubspec.yaml', 'modules/**/*.css', '!modules/**/e2e_test/**'
],
pipes: {
'**/*.dart': util.insertSrcFolder(gulpPlugins, SRC_FOLDER_INSERTION.dart),
'**/*.dart.md': gulpPlugins.rename(function(file) {