Skip to content

Add blueprint to auto generate config/deploy.js#58

Merged
lukemelia merged 1 commit intomasterfrom
52-deploy-config-blueprint
Mar 1, 2015
Merged

Add blueprint to auto generate config/deploy.js#58
lukemelia merged 1 commit intomasterfrom
52-deploy-config-blueprint

Conversation

@achambers
Copy link
Copy Markdown
Member

  • Adds deploy-config blueprint to ember generate
  • Populates config/deploy.js with example config

Closes #52

* adds `deploy-config` blueprint to `ember generate`
* Populates config/deploy.js with example config
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just copied the example deploy.js form the README. We will need to remember to change this file as well as the README as the API changes

@achambers
Copy link
Copy Markdown
Member Author

Not really sure the best way to test this. Or if it is possible, or of any value. Thoughts anyone?

@lukemelia
Copy link
Copy Markdown
Contributor

@achambers there is a way to make a blueprint run automatically as part of ember install:addon I'm out right now but you should be able to find an example in sam's pretenderify project

@achambers
Copy link
Copy Markdown
Member Author

@lukemelia The "defaultBlueprint": "deploy-config" line in the package.json should do that. According to the ember-cli docs anyway.

@lukemelia
Copy link
Copy Markdown
Contributor

@achambers awesome, that's what I get for trying to read code on my phone!

lukemelia added a commit that referenced this pull request Mar 1, 2015
Add blueprint to auto generate config/deploy.js
@lukemelia lukemelia merged commit 115be13 into master Mar 1, 2015
@lukemelia lukemelia deleted the 52-deploy-config-blueprint branch March 1, 2015 00:40
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.

Add blueprint to install starter deploy.js on install

2 participants