denali-js / cli

The official CLI for starting, building, and running Denali apps and addons
MIT License
5 stars 5 forks source link

Allow `denali generate` in addon dummy to include addon blueprints #52

Open knownasilya opened 6 years ago

knownasilya commented 6 years ago

Mainly for testing addon blueprint without having to create a new app and linking.

davewasmer commented 6 years ago

Sorry, not sure I follow - you're saying if you run:

my-addon/test/dummy$ denali generate ...

It should be able to find some blueprints it doesn't right now?

knownasilya commented 6 years ago

Yeah it should pick up the blueprints in that addon, so:

So if I have my-addon and there is a blueprints/default I should be able to run denali g my-addon in that addon's test/dummy folder.

davewasmer commented 6 years ago

Have you looked at the BlueprintAcceptanceTest class supplied by the CLI?