Skip to content

Instantly share code, notes, and snippets.

@captbrogers
Last active December 11, 2015 05:18
Show Gist options
  • Save captbrogers/4551111 to your computer and use it in GitHub Desktop.
Save captbrogers/4551111 to your computer and use it in GitHub Desktop.
Bash script to convert SCSS to SASS
#!/bin/bash
for i in $@
do
echo "Converting $i -> ${i%.*}.sass"
# not sure any of the flags are neccessary but I put them in anyway
sass-convert --from scss --to sass --indent 4 $i ${i%.*}.sass
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment