所以我有
- [folder]
+ config.rb
+ [scss]
+ [js]
+ [img]
+ [css]
但我想要
- [folder]
+ config.rb
- [folder]
- [folder]
+ [scss]
+ [js]
+ [img]
+ [css]
我已经尝试了project_path
变量,但它没有用。任何帮助都会很棒
答案 0 :(得分:2)
对于这种结构:
- deploy/
+ config.rb
- public_html/
- assets/
- sass/
- js/
- img/
- css/
试试这个:
http_path = "public_html/"
sass_dir = "public_html/assets/sass"
css_dir = "public_html/assets/css"
images_dir = "public_html/assets/img"
javascripts_dir = "public_html/assets/js"
relative_assets = true