-
-
Save digimix/f9005e882d10adf5fa2454308efda017 to your computer and use it in GitHub Desktop.
Run build sequence for Sage based WordPress theme from theme dir.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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