Skip to content

Commit

Permalink
Prevent build:dist from building documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Mar 10, 2023
1 parent e59f1fd commit 2b3f756
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/contributing/tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ npm scripts are defined in `package.json`. These trigger a number of Gulp tasks.
- clean the `./dist` folder
- output files into `./dist`, or another location via the `--destination` flag
- copy fonts and images
- compile JavaScript and Sass, including documentation
- compile JavaScript and Sass
- append version number from `package/package.json` to compiled JavaScript and CSS files
- runs `npm run test:build:dist` (which will test the output is correct)

Expand Down
5 changes: 4 additions & 1 deletion gulpfile.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ gulp.task('build:package', gulp.series(
* Prepare dist folder for release
*/
gulp.task('build:dist', gulp.series(
'build:public',
clean,
copyAssets,
compileJavaScripts,
compileStylesheets,
updateAssetsVersion
))

Expand Down

0 comments on commit 2b3f756

Please sign in to comment.