Commit ba2f8172 authored by Lynn Cyrin's avatar Lynn Cyrin

Merge branch 'no-ruby' into 'develop'

switch to libsass-python for all our sass needs

closes #238

See merge request !8
parents 726dac6e 1469fefc
Pipeline #115904 passed with stage
source "https://rubygems.org"
ruby '2.2.1'
gem 'sass', '>= 3.4'
GEM
remote: https://rubygems.org/
specs:
sass (3.4.14)
PLATFORMS
ruby
DEPENDENCIES
sass (>= 3.4)
......@@ -17,18 +17,6 @@ virtualenv -p python3.4 venv
source venv/bin/activate
pip install -qr requirements.txt
# ruby
if ! command -v rvm
then
sudo add-apt-repository -y ppa:rael-gc/rvm
sudo apt-get update
fi
sudo apt-get install -y -qq rvm
source /usr/share/rvm/scripts/rvm
rvm install 2.2
rvm use 2.2
gem install bundler
bundler install
# redis
if ! command -v redis-server
......
......@@ -132,7 +132,7 @@ class Cms(object):
'output': BASE_PATH+'/quirell/webapp/static/css/main.css',
}
subprocess.call('''
sass {source}:{output} --style compressed -q
sassc -m {source} {output}
'''.format(**args),
shell=True,
preexec_fn=os.setsid,
......
......@@ -55,3 +55,4 @@ speaklater==1.3
watchdog==0.8.3
wcwidth==0.1.4
webassets==0.10.1
libsass==0.8.3
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