Skip to content
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

Feature Request: Generate Bowerfile with bower:initialize #63

Closed
roccogalluzzo opened this issue Feb 13, 2014 · 4 comments
Closed

Feature Request: Generate Bowerfile with bower:initialize #63

roccogalluzzo opened this issue Feb 13, 2014 · 4 comments

Comments

@roccogalluzzo
Copy link
Contributor

Hi,

why on rails g bower_rails:initialize don't generate a default Bowerfile?
Maybe with instructions how to add components like bundle init.

If interested, send you a pull request with this feature.

@SergeyKishenin
Copy link
Collaborator

For now rails g bower_rails:initialize generates only initial bower.json file to use the gem without DSL.

I thought about implementing the same feature for DSL and if you can provide a PR — awesome! Also it would be great users to choose an option how to set up bower-rails while running generator: using DSL or bower.json file.

@roccogalluzzo
Copy link
Contributor Author

So like rails g bower_rails:init:json and rails g bower_rails:init:bowerfile?

If you want to focus gem to DSL version(IMO is more ruby way) rails g bower_rails:init generate DSL version and rails g bower_rails:init json native version.

@SergeyKishenin
Copy link
Collaborator

I meant to implement using ask Thor action or something like that but I like rails g bower_rails:initialize and rails g bower_rails:initialize json very much.

@roccogalluzzo
Copy link
Contributor Author

Feature merged, close. For reference: #64

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

No branches or pull requests

2 participants