Skip to content

Testing script for building coblocks release with selected blocks only

Notifications You must be signed in to change notification settings

glendaviesnz/coblocks-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CoBlocks Builder

A prototype custom build script for CoBlocks. Currently it:

  • Clones the current master branch of CoBlocks
  • Copies a custom blocks.js file to the source folder to only build selected blocks
  • Runs CoBlocks standard grunt build job
  • Removes src folder from coblocks/build/coblocks folder (it doesn't seem like the blocks src folder is used at all by the deployed plugin as everything is compiled down into the dist/ folder)

To use:

npm run build

After build has completed the coblocks/build/colblocks folder can be added to wp-content/plugins folder.

Things to note

  • You may need to install grunt globally for build script to run npm install -g grunt
  • Will currently only work on OSX/Linux

About

Testing script for building coblocks release with selected blocks only

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published