forked from robolectric/robolectric.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.rb
33 lines (27 loc) · 733 Bytes
/
config.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
set :js_dir, 'javascripts'
set :css_dir, 'stylesheets'
set :images_dir, 'images'
set :markdown_engine, :redcarpet
set :markdown, fenced_code_blocks: true, autolink: true, smartypants: true
activate :syntax
activate :directory_indexes
page "/javadoc/*", :directory_index => false
activate :deploy do |deploy|
deploy.method = :git
deploy.remote = 'origin'
deploy.branch = 'master'
end
configure :build do
activate :asset_hash
activate :minify_css
activate :minify_javascript
activate :relative_assets
activate :google_analytics do |ga|
ga.tracking_id = 'UA-19269905-1'
end
end
configure :development do
activate :google_analytics do |ga|
ga.tracking_id = false
end
end