Fire.app設定

Config設定

config.rb 裡面的相關設定

css_dir = "css"                                   # css路徑 

sass_dir = "sass"                                 # sass路徑 

images_dir = "images"                             # images路徑

javascripts_dir = "js"                            # js路徑

fireapp_coffeescripts_dir = "coffeescripts"       # coffeescripts路徑

fireapp_livescripts_dir = "livescripts"           # livescripts路徑

fireapp_minifyjs_on_build = false                 # by Fire.app 

fireapp_always_report_on_build = true             # by Fire.app 

output_style = :expanded                          # by Fire.app 

relative_assets = true                            # by Fire.app 

line_comments = false                             # by Fire.app 

sass_options = {:debug_info=>false}               # by Fire.app 

fireapp_coffeescript_options = {:bare=>false}     # by Fire.app 

fireapp_livescript_options = {:bare=>false}       # by Fire.app 

fireapp_build_path="~/Desktop/fireAppBuild/"      # 專案build的輸出路徑 ※注意! 會先清空,請不要擺錯資料夾!


Encoding.default_external = "UTF-8"               # 設定原始編碼

1. Build Project時某些檔案不要建立

Fire.app watch的專案底下,建立一個build_ignore.txt的檔案,並把想要ignore的檔案寫在裡面,相關寫法如:
*.layout 副檔名是.layout的不建立
*/.gitignore 任何資料夾底下的.gitignore不建立
*/*.scss 任何資料夾底下,副檔名為.scss不建立
partial/* partial資料夾底下(包括partial),都不建立

Comments

comments powered by Disqus