-
Notifications
You must be signed in to change notification settings - Fork 7
BGTFW 2.x Build Process
Starting Point: gulp build gulpfile.js
The BGTFW 2.x build process starts by running 'gulp build'. This starts a process which runs the following gulp tasks.
dist L#115
This task creates the destination folder 'boldgrid-theme-framework'
clean L#120
This task removes unused files from the dist folder
readme L#228
This task is apparently supposed to convert the readme.md file into a readme.txt but does not appear to do so.
license L#234
This just copies the license file from the src directory to the destination directory ( this and readme can be included in a simple copy command )
This runs an external script: ( yarn run script:wp-textdomain-lint ) to correct textdomains. This could be eliminated by combining Prime + Bgtfw into one repo
This uses a gulp linter jshint() to lint the javascript files.
This uses jscs to do just about the same thing as jshint.
This is used to minify the js files.
This moves svgs to the dist directory.
This runs an external script yarn run script:tgm to install the TGM Plugin Activation Library. Further research needs to be done, but I believe this can be removed. I believe this was added to automatically install certain plugins on theme installation but is no longer being used.