-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.rb
More file actions
43 lines (35 loc) · 851 Bytes
/
config.rb
File metadata and controls
43 lines (35 loc) · 851 Bytes
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
34
35
36
37
38
39
40
41
42
43
require 'hamlbars'
page "/index.html", :layout => false
###
# Helpers
###
# helpers do
# def stylesheet_include_tag(name)
# "<link rel=\"stylesheet\" href=\"#{self.css_dir}/#{name}.css\">"
# end
# end
# set :source, 'ui_source'
# set :build_dir, 'ui'
set :css_dir, 'stylesheets'
set :js_dir, 'javascripts'
set :images_dir, 'images'
#
set :haml, { :attr_wrapper => "\"" }
set :debug_assets, true
# Build-specific configuration
configure :build do
activate :relative_assets
set :debug_assets, false
ignore 'javascripts/*/*'
ignore 'stylesheets/normalize.*'
ignore 'stylesheets/main.*'
ignore 'stylesheets/*/*'
ignore 'layouts/*'
end
activate :deploy do |deploy|
deploy.method = :rsync
deploy.user = "igor"
deploy.host = "karies.cursor.ru"
deploy.path = "/www/phpprojects/redwine"
deploy.build_before = true
end