The build pipeline used with YetaWF is preconfigured and uses gulp. The following tasks are supported:
Gulp Task | Description |
---|---|
sass | Compiles all *.scss CSS files into *.css files. This is performed as part of the DebugBuild and ReleaseBuild tasks. |
less | Compiles all *.less CSS files into *.css files. Less is not currently used by YetaWF. This is performed as part of the DebugBuild and ReleaseBuild tasks. |
ts | Compiles all *.ts TypeScript files into *.js JavaScript files. Less is not currently used by YetaWF. This is performed as part of the DebugBuild and ReleaseBuild tasks. |
tslint | Lint checks all *.ts TypeScript files. This is part of the ReleaseBuild task. |
images-webp | Creates *.webp-gen WEBP images from *.PNG and *.JPG/JPEG files. This is performed as part of the DebugBuild and ReleaseBuild tasks. |
minify-js | Minifies all *.js JavaScript files to *.min.js. This is part of the ReleaseBuild task. |
minify-css | Minifies all *.css CSS files to *.min.css. This is part of the ReleaseBuild task. |
DebugBuild | Performs the tasks sass, less, ts and images-webp. |
ReleaseBuild | Performs the tasks sass, less, ts, tslint, minify-js, minify-css and images-webp. |
When building a DEBUG or RELEASE build in Visual Studio, the DebugBuild or ReleaseBuild task respectively is executed as part of a full rebuild.
All tasks can be performed manually. Using a command prompt, with ./Website as the current folder, execute gulp with the task name to perform:
gulp DebugBuild
Last Updated 11/10/2020 - (email)
© 2023 - Softel vdm, Inc. - YetaWF.com