I am trying to figure out which best process should go from code to the final deployable apk / ipa.
So far I have testuite using Karma + Jasmine, which translates TypeScript into JS and runs some unit tests. I run this process through gulp.
After that, all I know is ionic build android --release what (unsigned yet) apk generates. But I'm not sure how the generated apk is spent / minimized.
Thus, keeping in mind that the code should be as closed as possible, is this minimization and extension of the ionic build function, or should I complete all these pre-build tasks manually through gulp? And in this case, what are the right tasks that I have to complete, do I need to translate all TypeScript files to JS manually? and in what order should I perform tasks?
eg. transpile -> tests -> minify -> uglify -> build apk or minify -> uglify -> transpile -> tests -> build apk
I lost this a bit, and the only thing I can understand is that the tests should be run first, because if the test fails, the process should be interrupted.
build production-environment gulp ionic-framework ionic2
CTodea
source share