Project

General

Profile

Download (724 Bytes) Statistics
| Branch: | Tag: | Revision:
1 0484f1af Andreas Kohlbecker
#!/bin/bash
2
3
4
# check for compatible compass version
5
is_compatible=$(compass --version | grep "0.12.7")
6
7
if [[ -z "$is_compatible" ]]
8
then
9
    echo "incompatible version of compass found: $(compass --version | head -n 1 - )"
10 f45c46ef Andreas Kohlbecker
    echo "compass versions newer than no longer support CSS3Pie which is needed for cdm_dataportal/themes/zen_dataportal/sass/ie-legacy.scss "
11 0484f1af Andreas Kohlbecker
    echo "install version 0.12.7 by"
12
    echo "  sudo gem uninstall compass --all"
13 f45c46ef Andreas Kohlbecker
    echo "  sudo gem uninstall sass --all"
14 0484f1af Andreas Kohlbecker
    echo "  sudo gem install compass --version 0.12.7"
15
    exit -1
16
fi
17 54d28bbe Andreas Kohlbecker
18
# no need to specify the set the --debug-info here since we are 
19 0484f1af Andreas Kohlbecker
# using the development configuration file
20
compass clean
21
compass watch -c config-dev.rb   ./