Unverified Commit 9d7c74f7 authored by vinceliuice's avatar vinceliuice 🎧 Committed by GitHub

Merge pull request #165 from R0b1ns/master

relative path on parse-sass.sh
parents 4372b754 918b3fa1
#! /bin/bash
REPO_DIR=$(cd $(dirname $0) && pwd)
# check command avalibility
has_command() {
"$1" -v $1 > /dev/null 2>&1
......@@ -34,11 +36,11 @@ fi
for color in "${_COLOR_VARIANTS[@]}"; do
for trans in "${_TRANS_VARIANTS[@]}"; do
sassc $SASSC_OPT src/main/gtk-3.0/gtk${color}${trans}.{scss,css}
sassc $SASSC_OPT $REPO_DIR/src/main/gtk-3.0/gtk${color}${trans}.{scss,css}
echo "==> Generating the gtk${color}${trans}.css..."
sassc $SASSC_OPT src/main/gnome-shell/gnome-shell${color}${trans}.{scss,css}
sassc $SASSC_OPT $REPO_DIR/src/main/gnome-shell/gnome-shell${color}${trans}.{scss,css}
echo "==> Generating the gnome-shell${color}${trans}.css..."
sassc $SASSC_OPT src/main/cinnamon/cinnamon${color}${trans}.{scss,css}
sassc $SASSC_OPT $REPO_DIR/src/main/cinnamon/cinnamon${color}${trans}.{scss,css}
echo "==> Generating the cinnamon${color}${trans}.css..."
done
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment