-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
The problem:
With the current folder structure it is not possible to eg. use git or yeoman to build an app. Especially with yeoman we run in the situation that Gruntfile and package.json will be overwritten.
Possible solution:
Add a target flag to the build task. grunt dist-mac --app "/app/<myAppFolder>"
With this flag it is possible to use own folder structure within the app folder.
Current folder structure:
<project root>
| - app
| - | - js
| - | - css
| - | - packages.json
| - resources
...
$grunt dist-macWill copy all content of the app folder to build a nw app.
Examples:
<project root>
| - app
| | - <myapp>
| | | - css
| | | - js
| | | - package.json
| | - node-modules
| | - Gruntfile.js
| - resources
...
$grunt dist-mac --app "app/<myapp>"Now we can use other tools to setup an app structure.
E.g. use git clone or yo angular inside the app folder and the app will build with the <myapp> folder as project.
Metadata
Metadata
Assignees
Labels
No labels