ionic-cordova-gulp-seed icon indicating copy to clipboard operation
ionic-cordova-gulp-seed copied to clipboard

Ionic & Cordova & Gulp combo-seed - perfect for starting with Ionic framework!

Results 5 ionic-cordova-gulp-seed issues
Sort by recently updated
recently updated
newest added

https://github.com/gulpjs/gulp/blob/master/docs/recipes/delete-files-folder.md

- if ! cat "platforms/android/assets/www/config.xml" | grep -q "id=\"$BUNDLE_ID\""; then - if ! cat "platforms/android/res/xml/config.xml" | grep -q "id=\"$BUNDLE_ID\""; then

use browserify for build

[{"_id":"66f96f5364914cf0780bc06b","body":"What would be the advantage of such solution? \nDo we gain anything that we don't have in the current build process?\n","issue_id":1714663439405,"origin_id":140385970,"user_origin_id":1862580,"create_time":1442322969,"update_time":1442322969,"id":1727622995890,"updated_at":"2024-09-29T15:16:35.889000Z","created_at":"2024-09-29T15:16:35.889000Z"},{"_id":"66f96f5364914cf0780bc06c","body":"browserify handles dependency management of your modules very well - I can add\/remove a module simply by add\/removing the corresponding require() - and during the build process this change is taken into account directly. \n\n\"This means that the bundle you generate is completely self-contained and has everything your application needs to work with a pretty negligible overhead.\"\nhttps:\/\/github.com\/substack\/browserify-handbook#how-browserify-works\n\nFrom your build process files I see that all js files in the app directory (whether needed or not) are concatenated during the build process\n\n-> using browserify helps you to only add the referenced modules & thus automatically the resulting build artifact matches these modules\n","issue_id":1714663439405,"origin_id":140394150,"user_origin_id":7082367,"create_time":1442323819,"update_time":1442323819,"id":1727622995893,"updated_at":"2024-09-29T15:16:35.893000Z","created_at":"2024-09-29T15:16:35.893000Z"},{"_id":"66f96f5364914cf0780bc06d","body":"Yeah, but in Ionic apps propably:\n- you will load all the .js files from .\/app\/ directory anyway (if not, why would you have them there?)\n- all the files are available offline, so there's no delay or overload while loading them\n\nI would still like to know what is a direct advantage of this solution. What do we gain that we don't have right now? Any real-world usage example?\n","issue_id":1714663439405,"origin_id":140406876,"user_origin_id":1862580,"create_time":1442326595,"update_time":1442326595,"id":1727622995896,"updated_at":"2024-09-29T15:16:35.896000Z","created_at":"2024-09-29T15:16:35.896000Z"}] comment

browserify makes bundling the multiple modules much easier. build task example: https://github.com/vigetlabs/gulp-starter/blob/master/gulpfile.js/config.js https://github.com/vigetlabs/gulp-starter/blob/33e33e763060e7052ee7b3da430a8dfdca050a4e/gulp/tasks/browserify.js

Add Windows platform to release task

[{"_id":"66f96f67ad3c4128c70a558c","body":"Unfortunately I don't use nor have Windows at this moment. Anyone wants to make a pull request with it?\n","issue_id":1714663439410,"origin_id":140383610,"user_origin_id":1862580,"create_time":1442322805,"update_time":1442322805,"id":1727623015534,"updated_at":"2024-09-29T15:16:55.534000Z","created_at":"2024-09-29T15:16:55.534000Z"}] comment

"cordova build windows --release" for details see here: http://cordova.apache.org/docs/en/5.0.0/guide_platforms_win8_index.md.html#Windows%20Platform%20Guide

ifconfig and awk are unknown command on Win 7,..

[{"_id":"66f96f33ad3c4128c70a5575","body":"Yeah, you're right.\n\nYou can fix it in 2 ways (see https:\/\/github.com\/jtomaszewski\/ionic-cordova-gulp-seed\/blob\/master\/gulpfile.coffee#L28):\n1. define ENV variable LOCAL_IP (f.e. `LOCAL_IP=\"127.0.0.1\" gulp)\n2. modify gulpfile.coffee and define LOCAL_IP manually\n","issue_id":1714663439414,"origin_id":50635973,"user_origin_id":1862580,"create_time":1406736031,"update_time":1406736062,"id":1727622963047,"updated_at":"2024-09-29T15:16:03.047000Z","created_at":"2024-09-29T15:16:03.047000Z"},{"_id":"66f96f33ad3c4128c70a5576","body":"It helped partially. Now I see\nc:\\MyProjects_ionic>gulp\n[23:04:33] Warning: gulp version mismatch:\n[23:04:33] Global gulp is 3.8.6\n[23:04:33] Local gulp is 3.6.2\ngulp.env has been deprecated. Use your own CLI parser instead. We recommend usin\ng yargs or minimist.\n[23:04:35] Using gulpfile c:\\MyProjects_ionic\\gulpfile.js\n[23:04:35] Starting 'default'...\n[23:04:35] Starting 'build'...\n[23:04:35] Starting 'clean'...\n[23:04:35] Starting 'bower:install'...\n[23:04:35] Finished 'clean' after 17 ms\n[23:04:36] Finished 'bower:install' after 1.34 s\n[23:04:36] Starting 'assets:ejs'...\n[23:04:36] Starting 'assets:others'...\n[23:04:36] Starting 'styles'...\n[23:04:36] Starting 'scripts:vendor'...\n[23:04:36] Starting 'scripts:app'...\n[23:04:36] Starting 'scripts:bootstrap'...\n[23:04:36] Starting 'templates'...\n[23:04:37] Finished 'assets:ejs' after 587 ms\n[23:04:37] Finished 'scripts:bootstrap' after 576 ms\n[23:04:37] Finished 'scripts:vendor' after 597 ms\n[23:04:37] Finished 'scripts:app' after 620 ms\n[23:04:37] Starting 'scripts'...\n[23:04:37] Finished 'scripts' after 14 ?s\n[23:04:37] Finished 'templates' after 622 ms\n[23:04:37] Finished 'styles' after 749 ms\n[23:04:37] Finished 'assets:others' after 1.13 s\n[23:04:37] Starting 'assets'...\n[23:04:37] Finished 'assets' after 12 ?s\n[23:04:37] Finished 'build' after 2.49 s\n[23:04:37] Starting 'watch'...\n[23:04:37] Finished 'watch' after 185 ms\n[23:04:37] Starting 'server'...\n[23:04:37] HTTP server listening on 4400\n[23:04:37] Finished 'server' after 3.29 ms\n[23:04:37] Starting 'weinre'...\n[23:04:37] Finished 'weinre' after 686 ?s\n[23:04:37] Finished 'default' after 2.68 s\n[23:04:37] Live reload server listening on: 35729\n\nevents.js:72\n throw er; \/\/ Unhandled 'error' event\n ^\nError: spawn ENOENT\n at errnoException (child_process.js:980:11)\n at Process.ChildProcess._handle.onexit (child_process.js:771:34)\n\nc:\\MyProjects_ionic> \n","issue_id":1714663439414,"origin_id":50637027,"user_origin_id":1247062,"create_time":1406736488,"update_time":1406736488,"id":1727622963059,"updated_at":"2024-09-29T15:16:03.058000Z","created_at":"2024-09-29T15:16:03.058000Z"},{"_id":"66f96f33ad3c4128c70a5577","body":"Seems like most of the tasks are working. Try running them 1by1 to see which triggers the error. Maybe gulp watch ? (livereload server).\n","issue_id":1714663439414,"origin_id":50637248,"user_origin_id":1862580,"create_time":1406736575,"update_time":1406736575,"id":1727622963065,"updated_at":"2024-09-29T15:16:03.064000Z","created_at":"2024-09-29T15:16:03.064000Z"},{"_id":"66f96f33ad3c4128c70a5578","body":"the problem in \"weinre\" \n","issue_id":1714663439414,"origin_id":50637810,"user_origin_id":1247062,"create_time":1406736816,"update_time":1406736816,"id":1727622963067,"updated_at":"2024-09-29T15:16:03.067000Z","created_at":"2024-09-29T15:16:03.067000Z"},{"_id":"66f96f33ad3c4128c70a5579","body":"OK, then remove the weinre completely from the gulp 'default' task - it's a remote debugger that isn't really needed.\n","issue_id":1714663439414,"origin_id":50638719,"user_origin_id":1862580,"create_time":1406737192,"update_time":1406737198,"id":1727622963070,"updated_at":"2024-09-29T15:16:03.069000Z","created_at":"2024-09-29T15:16:03.069000Z"},{"_id":"66f96f33ad3c4128c70a557a","body":"ok but why gulp default and build-debug command doesnt start web page in browser? I have to realize howto and do it manually?\n","issue_id":1714663439414,"origin_id":50639678,"user_origin_id":1247062,"create_time":1406737446,"update_time":1406737446,"id":1727622963072,"updated_at":"2024-09-29T15:16:03.071000Z","created_at":"2024-09-29T15:16:03.071000Z"},{"_id":"66f96f33ad3c4128c70a557b","body":"It runs the web server, but also stuff like live reload server and weinre debugger server.\n","issue_id":1714663439414,"origin_id":50663687,"user_origin_id":1862580,"create_time":1406747007,"update_time":1406747007,"id":1727622963074,"updated_at":"2024-09-29T15:16:03.074000Z","created_at":"2024-09-29T15:16:03.074000Z"},{"_id":"66f96f33ad3c4128c70a557c","body":"but I don't see the running application in browser. Any other build systems I used do this that's why it looks like a error for me. My question is there a command in gulpfile for the running application in browser or due to a bug or win 7 incompatibility? \n","issue_id":1714663439414,"origin_id":50664950,"user_origin_id":1247062,"create_time":1406747566,"update_time":1406747566,"id":1727622963077,"updated_at":"2024-09-29T15:16:03.076000Z","created_at":"2024-09-29T15:16:03.076000Z"},{"_id":"66f96f33ad3c4128c70a557d","body":"`gulp server` (which is included in the default `gulp` command) runs the server by default on the 4400 port - so you can visit localhost:4400 in your browser.\n\nYou can run `gulp --open` and it will try to open the browser automatically, but this thing actually won't work on Windows, sorry. (the server should work, though)\n\nI don't use Windows anymore, so I can't help you much with it, sorry.\n","issue_id":1714663439414,"origin_id":50665280,"user_origin_id":1862580,"create_time":1406747710,"update_time":1411741591,"id":1727622963079,"updated_at":"2024-09-29T15:16:03.078000Z","created_at":"2024-09-29T15:16:03.078000Z"},{"_id":"66f96f33ad3c4128c70a557e","body":"Thanks! )\n","issue_id":1714663439414,"origin_id":50665424,"user_origin_id":1247062,"create_time":1406747767,"update_time":1406747767,"id":1727622963081,"updated_at":"2024-09-29T15:16:03.081000Z","created_at":"2024-09-29T15:16:03.081000Z"}] comment

gulp command doesn't work for me on Win 7. I think it's a problem for all Win users. Subj message is the first. The second is c:\MyProjects_ionic\node_modules\execSync\index.js:69 throw new Error('ERROR:...