mirror of
https://github.com/ForkAwesome/Fork-Awesome.git
synced 2024-12-26 13:31:31 +08:00
Now trully uses a local version of less
This commit is contained in:
parent
9c888d64f0
commit
e910ec215b
2
Gemfile
2
Gemfile
@ -3,7 +3,7 @@ source 'https://rubygems.org'
|
||||
gem 'jekyll', '~> 1.0'
|
||||
gem 'safe_yaml', '~> 1.0.4'
|
||||
gem 'sass', '~> 3.0'
|
||||
gem 'less', '~> 2.5.0'
|
||||
# gem 'less', '~> 2.5.0'
|
||||
gem 'libv8', '~> 3.16.14.0'
|
||||
gem 'therubyracer'
|
||||
gem 'fontcustom'
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
---
|
||||
PATH := ../../node_modules/.bin:$(PATH)
|
||||
PATH := ../node_modules/.bin:$(PATH)
|
||||
|
||||
FA_ROOT_DIRECTORY = assets/fork-awesome
|
||||
FA_LESS_DIRECTORY = assets/fork-awesome/less
|
||||
@ -25,7 +25,7 @@ build:
|
||||
|
||||
bundle exec lessc ${FA_LESS_MODERN} > ${FA_CSS_MODERN}
|
||||
bundle exec lessc --clean-css="--compatibility=ie8" ${FA_LESS_MODERN} > ${FA_CSS_MODERN_MIN}
|
||||
# sass ${FA_SCSS_MODERN} ${FA_CSS_MODERN}
|
||||
# sass ${FA_SCSS_MODERN} ${FA_CSS_MODERN}
|
||||
|
||||
bundle exec lessc --clean-css="--compatibility=ie8" ${SITE_LESS} > ${SITE_CSS}
|
||||
|
||||
@ -36,7 +36,8 @@ build:
|
||||
@echo "Generating zip file"
|
||||
cd assets && mv fork-awesome fork-awesome-{{ site.forkawesome.version }} && zip -r9 fork-awesome-{{ site.forkawesome.version }}.zip fork-awesome-{{ site.forkawesome.version }} && mv fork-awesome-{{ site.forkawesome.version }} fork-awesome
|
||||
|
||||
find .. -type f ! -perm 644 -exec chmod 644 {} \;
|
||||
# TODO: figure out why this was here and remove it if unused. It blocked running local less version
|
||||
# find .. -type f ! -perm 644 -exec chmod 644 {} \;
|
||||
|
||||
default: build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user