Created
August 4, 2016 08:26
-
-
Save grebaldi/a36b0c6c1451d4eba6b699e0101857a4 to your computer and use it in GitHub Desktop.
Basic sass -> css build stack
This file contains hidden or 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
#!/usr/bin/env sh | |
node-sass Resources/Private/Sass/Main.scss | \ | |
postcss --use autoprefixer | \ | |
cleancss > \ | |
Resources/Public/Styles/Main.css | |
This file contains hidden or 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
# Run initially | |
npm install --save-dev autoprefixer clean-css node-sass postcss postcss-cli scripty | |
# Run after build scripts have been created | |
chmod +x Build/Scripts/build/css | |
chmod +x Build/Scripts/watch/css | |
# Install Brics | |
git clone [email protected]:Inkdpixels/Brics.git Resources/Private/Sass | |
rm -rf Resources/Private/Sass/.git | |
rm Resources/Private/Sass/*.md | |
rm Resources/Private/Sass/.travis.yml |
This file contains hidden or 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
#!/usr/bin/env sh | |
node-sass -wr Resources/Private/Sass/Main.scss -o Resources/Public/Styles/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment