Skip to content

Commit

Permalink
build: update doc script
Browse files Browse the repository at this point in the history
  • Loading branch information
06wj committed Dec 31, 2019
1 parent d48c834 commit ad747de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const testTask = () => {
};

const readmeTask = () => {
return src('./README.md')
return src(['./README.md', './README_ZH.md'])
.pipe(replace(/Hilo3d\/[\d\.]+\/Hilo3d\.js/g, `Hilo3d/${pkg.version}/Hilo3d.js`))
.pipe(dest('./'));
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"debug": "webpack --watch --env.debug",
"build": " webpack",
"release": "tnpm update && webpack -p",
"doc": "jsdoc -c doc.conf.json",
"doc": "gulp readme && jsdoc -c doc.conf.json",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"eslint-fix": "eslint --fix ./src",
"seinjs-dev": "webpack --watch --env.development --seinjs",
Expand Down

0 comments on commit ad747de

Please sign in to comment.