-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix issues #10 and #12 #13
Changes from 1 commit
3b15fd0
1bbd4d5
4aac9ff
fc1c4f7
5ae51dc
4282644
d03a05f
f7fd57a
e28a142
cb15b3c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
source_paths.unshift(File.dirname(__FILE__)) | ||
|
||
run "mv app/assets app/frontend" | ||
run "mkdir app/assets" | ||
run "mv app/frontend/config app/assets/config" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This moves There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is that just Sprockets? I did find putting things in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sprockets hard codes this path. rails/sprockets-rails#369 is open to see if it can be made customisable. I take your point on the defaults. I'm loathe to give it up because the default feels gross but accepting the default might be the most pragmatic. |
||
|
||
run "mv app/javascript/* app/frontend" | ||
run "rm -rf app/javascript" | ||
apply "config/template.rb" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This diff is a bit messy but basically I moved lots of commands inside the
after_bundle
hook. This allowed me to remove our git repo setup and our call towebpacker:install
.