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
Update Ember-CLI and add tests/dummy/public #50
Update Ember-CLI and add tests/dummy/public #50
Conversation
I updated to Ember-CLI 2.17.1 and ran the related blueprints. I also, I think have a partial solution for #29 I added a check in src/index.js like: ```js if(isAddon) { defaultOpts.sourceDirs.push('tests/dummy/public'); } ``` So we should be automatically adding `tests/dummy/public` to the directories we look through, if you are inside an addon. I tried linking locally to an addon to test, but when I ran `ember s` the addon could not access http://localhost:4200/ember-svg-jar/index.html so I am not 100% sure if this works or not, but I think it should.
It looks like there are issues with Ember 1.10.0 for some reason. Can we just support 1.13+? Those versions are really old now, so not sure how important it is to you to support them. |
That's cool. Thank you. I'll take a look at it. |
I went ahead and updated support to be >= 1.13.13. |
@ivanvotti any questions for me or anything I can do to help get this merged? Happy to help any way I can! |
Thanks for merging! Would you mind releasing as well? |
Sure. I'll probably do it today. |
I updated to Ember-CLI 2.17.1 and ran the related blueprints with
ember init
.I also think I have a partial solution for #29
I added a check in src/index.js like:
So we should be automatically adding
tests/dummy/public
to the directories we look through, if you are inside an addon.I tried linking locally to an addon to test, but when I ran
ember s
the addon could not access http://localhost:4200/ember-svg-jar/index.html so I am not 100% sure if this works or not, but I think it should. I was able to see thatisAddon
was evaluating correctly and pushing to the source directories.