Gruntify Ionic?


#1

Hello !
We are working on a Ionic app, and the production phase is getting closer.
Now I see tasks that are not covered by cordova CLI or Ionic :

  • Get rid of useless folders (say /scss for example)
  • Push platform specific resources (i.e. images, that are pushed only with Phonegap Build)

I started a small grunt script to do that :

It’s Android for now, but I will add an iOS part.
If you think it’s relevant, tell me, I’d like to know what people think about that !

Alain


#2

Hello !
I just updated the tasks, in the proper order, you find these :

sass compile
Android cordova build
clean scss and res folders in platform folder
copy assets in platform folder

I still need to do the same with iOS (or not …)