Skip to content

Instantly share code, notes, and snippets.

@digimix
Forked from anonymous/themeup.sh
Created August 23, 2016 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save digimix/f9005e882d10adf5fa2454308efda017 to your computer and use it in GitHub Desktop.
Save digimix/f9005e882d10adf5fa2454308efda017 to your computer and use it in GitHub Desktop.
Run build sequence for Sage based WordPress theme from theme dir.
#!/bin/bash
# Initiating Digimix theme setup
echo "Initiating Digimix theme setup"
# install node modules
echo "install node modules"
npm install
# install bower components
echo "installing bower components"
bower install
# compile theme with gulp
echo "compiling theme with gulp"
gulp
echo "Digimix theme setup complete"
# Digimix theme setup complete
@digimix
Copy link
Author

digimix commented Aug 23, 2016

Put this version in your local path and run from theme directory.

$ chmod +x themeup.sh
$ mv themeup.sh /usr/local/bin/themeup.sh

then from the theme directory just enter themeup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment