Skip to content

Enhance assets:clobber with css:clobber #44

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

Merged
merged 1 commit into from
Nov 17, 2021
Merged

Conversation

Intrepidd
Copy link
Contributor

@dhh dhh merged commit ee740d4 into rails:main Nov 17, 2021
@johnston
Copy link

Hi - I think this breaks when using https://github.com/rails/propshaft as it doesn't have an assets:clobber task: https://github.com/rails/propshaft/blob/a68fd6dab490f489c0fef49912a5aba03800b3ac/lib/propshaft/railtie.rb#L47-L64

❯ bundle exec rails css:install:postcss
rails aborted!
Don't know how to build task 'assets:clobber' (See the list of available tasks with `rails --tasks`)
Did you mean?  assets:clean
/Users/stuart/webapps/rails-new/ListBox/Rakefile:6:in `<main>'
bin/rails:4:in `<main>'
(See full trace by running task with --trace)

@Intrepidd
Copy link
Contributor Author

Good point, does it make sense to have an assets:clobber task for propshaft ? As it generates assets into public/assets I guess it could

@dhh
Copy link
Member

dhh commented Nov 22, 2021

We should add assets:clobber to Propshaft. Please do PR that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants