Commit e31d7dec authored by Terion's avatar Terion

remove ruby dependency

parent 023660ef
source "https://rubygems.org"
gem 'sass', "~> 3.4"
gem 'compass', "~> 1"
gem 'bootstrap-sass', '~> 3.3.5'
gem 'sass-globbing', '~>1'
gem 'compass-normalize', '~>1.5'
\ No newline at end of file
GEM
remote: https://rubygems.org/
specs:
autoprefixer-rails (5.2.1.2)
execjs
json
bootstrap-sass (3.3.5.1)
autoprefixer-rails (>= 5.0.0.1)
sass (>= 3.3.0)
chunky_png (1.3.4)
compass (1.0.3)
chunky_png (~> 1.2)
compass-core (~> 1.0.2)
compass-import-once (~> 1.0.5)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
sass (>= 3.3.13, < 3.5)
compass-core (1.0.3)
multi_json (~> 1.0)
sass (>= 3.3.0, < 3.5)
compass-import-once (1.0.5)
sass (>= 3.2, < 3.5)
compass-normalize (1.5)
compass (>= 0.12.0)
execjs (2.6.0)
ffi (1.9.10)
json (1.8.3)
multi_json (1.11.2)
rb-fsevent (0.9.5)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
sass (3.4.16)
sass-globbing (1.1.1)
sass (>= 3.1)
PLATFORMS
ruby
DEPENDENCIES
bootstrap-sass (~> 3.3.5)
compass (~> 1)
compass-normalize (~> 1.5)
sass (~> 3.4)
sass-globbing (~> 1)
......@@ -10,7 +10,7 @@ RUN chown -R u_web .
# using USER u_web invokes sudo -u and triggers server to show lecture that breaks all process
## build
RUN su u_web && bundle install
# RUN su u_web && bundle install
RUN su u_web && npm install
RUN su u_web && ./node_modules/bower/bin/bower install --allow-root
RUN su u_web && node ./node_modules/gulp/bin/gulp.js --production
\ No newline at end of file
......@@ -2,23 +2,20 @@ gulp = require 'gulp'
gulp.task 'sass', ->
compass = require 'gulp-compass'
sass = require 'gulp-sass'
sourcemaps = require 'gulp-sourcemaps'
csso = require 'gulp-csso'
autoprefixer = require "gulp-autoprefixer"
ifElse = require('gulp-if-else')
argv = require('yargs').argv
gulp.src ['src/sass/*.sass', '!src/sass/_*', '!src/sass/_*/*']
.pipe compass
#project: '',
css: 'build/css/'
sass: 'src/sass/'
image: 'src/img/'
require: ['bootstrap-sass', 'sass-globbing', 'compass-normalize']
comments: false
style: 'expanded'
bundle_exec: true
.on 'error', (e)-> console.error e
.pipe sourcemaps.init()
.pipe sass({
outputStyle: 'expanded'
comments: true
}).on('error', sass.logError)
.pipe(autoprefixer(browsers: ['last 2 version', 'safari 5', 'ie 9', 'opera 12.1', 'ios 6', 'android 4'], remove: false))
.pipe ifElse(argv.production, csso)
.pipe sourcemaps.write('./maps')
.pipe gulp.dest 'build/css'
@import "compass"
@import "bootstrap/variables"
@import "bootstrap/mixins"
@import "bootstrap/normalize"
@import "bootstrap/scaffolding"
@import "bootstrap/responsive-utilities"
@import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap/variables"
@import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins"
@import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap/normalize"
@import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap/scaffolding"
@import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap/responsive-utilities"
@import "_partials/mixins"
......
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