How to create different build profiles? (test, debug, release etc.)

Hi

I want to create different build profiles (similar to maven profiles)
i need one version (basically a set of files) for internal tests/dev (with some mocks for services)
and other profile for full build (without mocks), and even maybe a third one ‘release’

How to achieve that ?

Have a look at the environment feature of the gulp file generated by generator-m-ionic.