parent
1b4710824f
commit
d2436a0924
4 changed files with 1 additions and 16 deletions
|
@ -1,14 +1,11 @@
|
||||||
engines:
|
engines:
|
||||||
bundler-audit:
|
bundler-audit:
|
||||||
enabled: true
|
enabled: true
|
||||||
coffeelint:
|
|
||||||
enabled: true
|
|
||||||
duplication:
|
duplication:
|
||||||
enabled: true
|
enabled: true
|
||||||
config:
|
config:
|
||||||
languages:
|
languages:
|
||||||
- ruby:
|
- ruby:
|
||||||
- coffeescript:
|
|
||||||
eslint:
|
eslint:
|
||||||
enabled: true
|
enabled: true
|
||||||
fixme:
|
fixme:
|
||||||
|
|
3
Gemfile
3
Gemfile
|
@ -2,8 +2,7 @@
|
||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
gem 'nanoc'
|
gem 'nanoc'
|
||||||
# General filtering
|
|
||||||
gem 'coffee-script'
|
|
||||||
gem 'icalendar' # ical files
|
gem 'icalendar' # ical files
|
||||||
gem 'kramdown'
|
gem 'kramdown'
|
||||||
gem 'sassc'
|
gem 'sassc'
|
||||||
|
|
|
@ -9,10 +9,6 @@ GEM
|
||||||
execjs
|
execjs
|
||||||
builder (3.2.3)
|
builder (3.2.3)
|
||||||
coderay (1.1.2)
|
coderay (1.1.2)
|
||||||
coffee-script (2.4.1)
|
|
||||||
coffee-script-source
|
|
||||||
execjs
|
|
||||||
coffee-script-source (1.12.2)
|
|
||||||
colored (1.2)
|
colored (1.2)
|
||||||
concurrent-ruby (1.1.5)
|
concurrent-ruby (1.1.5)
|
||||||
cri (2.15.9)
|
cri (2.15.9)
|
||||||
|
@ -136,7 +132,6 @@ DEPENDENCIES
|
||||||
adsf
|
adsf
|
||||||
autoprefixer-rails
|
autoprefixer-rails
|
||||||
builder
|
builder
|
||||||
coffee-script
|
|
||||||
guard-nanoc
|
guard-nanoc
|
||||||
highline
|
highline
|
||||||
htmlcompressor
|
htmlcompressor
|
||||||
|
|
6
Rules
6
Rules
|
@ -174,12 +174,6 @@ end
|
||||||
#
|
#
|
||||||
# ASSETS
|
# ASSETS
|
||||||
#
|
#
|
||||||
compile '/assets/scripts/**/*.coffee' do
|
|
||||||
filter :coffeescript
|
|
||||||
filter :uglify_js if production?
|
|
||||||
write ext: 'js'
|
|
||||||
end
|
|
||||||
|
|
||||||
compile '/assets/scripts/**/*.js' do
|
compile '/assets/scripts/**/*.js' do
|
||||||
filter :uglify_js, harmony: true if production?
|
filter :uglify_js, harmony: true if production?
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue