]> git.ipfire.org Git - thirdparty/Font-Awesome.git/commitdiff
Fix less version
authorGeremia Taglialatela <tagliala.dev@gmail.com>
Sun, 8 Feb 2015 19:22:20 +0000 (20:22 +0100)
committerDave Gandy <dave@davegandy.com>
Tue, 28 Jul 2015 21:52:04 +0000 (14:52 -0700)
Update gems
Improve makefile to use bundle

Gemfile
Gemfile.lock
src/Makefile

diff --git a/Gemfile b/Gemfile
index b87c4d8247a79596f116fb97d5abf9a3d4249557..0ca1cbfd5ee6f6e4f051ce63ebe32f0ded116b74 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -3,3 +3,5 @@ source 'https://rubygems.org'
 gem 'jekyll', '~> 1.0'
 gem 'safe_yaml', '~> 1.0.4'
 gem 'sass', '~> 3.0'
+gem 'less', '~> 2.5.0'
+gem 'therubyracer'
index 82bb3d496587a736f71028a581b8f7c757858cff..d84090d625a1f5d29910bcd5a16c0583e612cec9 100644 (file)
@@ -7,8 +7,9 @@ GEM
     colorator (0.1)
     commander (4.1.6)
       highline (~> 1.6.11)
+    commonjs (0.2.7)
     fast-stemmer (1.0.2)
-    ffi (1.9.8)
+    ffi (1.9.6)
     highline (1.6.21)
     jekyll (1.5.1)
       classifier (~> 1.3)
@@ -21,6 +22,9 @@ GEM
       redcarpet (~> 2.3.0)
       safe_yaml (~> 1.0)
       toml (~> 0.1.0)
+    less (2.5.1)
+      commonjs (~> 0.2.7)
+    libv8 (3.16.14.7)
     liquid (2.5.5)
     listen (1.3.1)
       rb-fsevent (>= 0.9.3)
@@ -29,7 +33,7 @@ GEM
     maruku (0.7.0)
     parslet (1.5.0)
       blankslate (~> 2.0)
-    posix-spawn (0.3.10)
+    posix-spawn (0.3.9)
     pygments.rb (0.5.4)
       posix-spawn (~> 0.3.6)
       yajl-ruby (~> 1.1.0)
@@ -39,8 +43,12 @@ GEM
     rb-kqueue (0.2.3)
       ffi (>= 0.5.0)
     redcarpet (2.3.0)
+    ref (1.0.5)
     safe_yaml (1.0.4)
-    sass (3.4.13)
+    sass (3.4.11)
+    therubyracer (0.12.1)
+      libv8 (~> 3.16.14.0)
+      ref
     toml (0.1.2)
       parslet (~> 1.5.0)
     yajl-ruby (1.1.0)
@@ -50,5 +58,6 @@ PLATFORMS
 
 DEPENDENCIES
   jekyll (~> 1.0)
-  safe_yaml (~> 1.0.4)
+  less (~> 2.5.0)
   sass (~> 3.0)
+  therubyracer
index 2058b20c641fa6e02f73695ba5033e3e23a9ce86..bd98b53a238fedf76e985c3f303f6fd974f2e6ce 100644 (file)
@@ -23,11 +23,11 @@ build:
        @echo "Compiling Less files"
        @mkdir -p ${FA_CSS_DIRECTORY}
 
-       lessc ${FA_LESS_MODERN} > ${FA_CSS_MODERN}
-       lessc --compress ${FA_LESS_MODERN} > ${FA_CSS_MODERN_MIN}
+       bundle exec lessc ${FA_LESS_MODERN} > ${FA_CSS_MODERN}
+       bundle exec lessc --compress ${FA_LESS_MODERN} > ${FA_CSS_MODERN_MIN}
 #      sass ${FA_SCSS_MODERN} ${FA_CSS_MODERN}
 
-       lessc --yui-compress ${SITE_LESS} > ${SITE_CSS}
+       bundle exec lessc --yui-compress ${SITE_LESS} > ${SITE_CSS}
        cp -r ${FA_ROOT_DIRECTORY}/* ../
        mv README.md-nobuild ../README.md
        cd assets && mv font-awesome font-awesome-{{ site.fontawesome.version }} && zip -r9 font-awesome-{{ site.fontawesome.version }}.zip font-awesome-{{ site.fontawesome.version }} && mv font-awesome-{{ site.fontawesome.version }} font-awesome