Skip to content

Instantly share code, notes, and snippets.

@weshardee
Forked from anthonyLukes/mkmod
Created August 22, 2014 19:56
Show Gist options
  • Select an option

  • Save weshardee/c21b63282802f5348071 to your computer and use it in GitHub Desktop.

Select an option

Save weshardee/c21b63282802f5348071 to your computer and use it in GitHub Desktop.
ASSETS_DIR="./src/assets/scss/"
if [ -z "$5" ]
then
SASS_DIR="modules/";
else
SASS_DIR=$5/;
fi
TARGET_DIR=$ASSETS_DIR$SASS_DIR;
mkdir $TARGET_DIR$1;
touch $TARGET_DIR$1/_$1_screen.scss;
if [ "$2" = "y" ]
then
touch $TARGET_DIR$1/_$1_sm.scss;
fi
if [ "$3" = "y" ]
then
touch $TARGET_DIR$1/_$1_md.scss;
fi
if [ "$4" = "y" ]
then
touch $TARGET_DIR$1/_$1_lg.scss;
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment