Description
When building an app, the app is built in a temporary folder. These files are not copied across to the actual build folder within the project directory. For example if I was building an app called testApp I would expect to go to the build/windows folder to see my files.
The root of the cause is [this line](
https://github.com/appcelerator/titanium_mobile_windows/blob/master/cli/commands/_build.js#L1822). Changing to the below seems to fix the issue
wrench.copyDirSyncRecursive(this.buildDir, this.originalBuildDir, {
forceDelete: true
});
Steps To Reproduce
1. Create a new application using
appc new
2. Build the application using
appc run -p windows -T wp-device
3. Check the build/windows folder
Actual Result
The build folder contains none of the build files
Expected Result
The build folder should contain the build files
PR: https://github.com/appcelerator/titanium_mobile_windows/pull/267
Verified the fix. I see the resources are now copied to the build/windows folder. Closing. Environment: Appc Studio: 4.1.0.201506261427 Ti SDK: 4.1.0.v20150701131146 Ti CLI: 4.0.1 Alloy: 1.6.2 Windows: 8.1 Enterprise 64-bit APPC NPM: 4.1.0-1 APPC CLI: 4.1.0-4