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

Auto update dummy config #44

Merged
merged 2 commits into from
Feb 9, 2016
Merged

Auto update dummy config #44

merged 2 commits into from
Feb 9, 2016

Conversation

knownasilya
Copy link
Contributor

So previously this addon was supposed to auto update the config, but it never did since the config is in tests/dummy/config.

This change uses the configPath in the package.json to update the correct config.
Not sure if this would require a major bump, since maybe the config was in the base directory before.

See #12

updateDummyConfig: function() {
var name = this.project.pkg.name;
var search = " if (environment === 'production') {";
var replace = " if (environment === 'production') {\n ENV.locationType = 'hash';\n ENV.baseURL = '/" + name + "';";

Choose a reason for hiding this comment

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

Line is too long.
Mixed double and single quotes.

knownasilya pushed a commit that referenced this pull request Feb 9, 2016
@knownasilya knownasilya merged commit 1a43723 into master Feb 9, 2016
knownasilya pushed a commit that referenced this pull request Feb 9, 2016
- Fix auto configuration update, see #44
- Update to ember-cli 1.13.8, see #30
- Readme modifications, see #41, #38 and a few others
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.

None yet

2 participants