Browse Source

Merge pull request #53 from TheConstructor/bundler

Added Bundler-support and compass-commands.
master
Lokesh Dhakar 7 years ago
parent
commit
eb23d84f34
4 changed files with 42 additions and 1 deletions
  1. +3
    -0
      Gemfile
  2. +16
    -0
      Gemfile.lock
  3. +19
    -0
      config.rb
  4. +4
    -1
      package.json

+ 3
- 0
Gemfile View File

@@ -0,0 +1,3 @@
source 'https://rubygems.org'

gem 'compass'

+ 16
- 0
Gemfile.lock View File

@@ -0,0 +1,16 @@
GEM
remote: https://rubygems.org/
specs:
chunky_png (1.2.8)
compass (0.12.2)
chunky_png (~> 1.2)
fssm (>= 0.2.7)
sass (~> 3.1)
fssm (0.2.10)
sass (3.2.9)

PLATFORMS
x86-mingw32

DEPENDENCIES
compass

+ 19
- 0
config.rb View File

@@ -0,0 +1,19 @@
# Require any additional compass plugins here.

# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "css"
sass_dir = "sass"
images_dir = "img"
javascripts_dir = "js"

# You can select your preferred output style here (can be overridden via the command line):
# output_style = :expanded or :nested or :compact or :compressed

# To enable relative paths to assets via compass helper functions. Uncomment:
relative_assets = true

# To disable debugging comments that display the original location of your selectors. Uncomment:
# line_comments = false

preferred_syntax = :sass

+ 4
- 1
package.json View File

@@ -18,7 +18,10 @@
"scripts": {
"build": "coffee --compile --output ./js/ ./coffee/",
"check": "jshint ./js/lightbox.js",
"lint": "jshint ./js/lightbox.js"
"lint": "jshint ./js/lightbox.js",
"install-compass": "bundle install",
"update-compass": "bundle update",
"build-compass": "bundle exec compass compile"
},
"licenses": [
{


Loading…
Cancel
Save