Hi,
I am working on getting my build from JET5.2 to JET6.1
Currently it is fully based on grunt cli, but while I am at it, I want to start using the ojet hooks to call my grunt stuff.
In my JET5.2 I have registered custom grunt tasks that do :
- grunt-bump to increase version
- grunt-exec to do ojet build --release
- grunt-replace to do some housekeeping
- grunt-war to create a proper war file that we need for server deployment
By calling "grunt build:release", everything is executed, and my app is ready for deployment.
In JET6.1 I would typically call "ojet build --release" and do 1 in the before-release-build, 3 and 4 in the after-build.
Is there any documentation regarding this? I mean, I know how to work with the hooks, but somehow I cannot get my grunt-bump and grunt-war scripts to run properly.
So the big question now is how I can properly call 1,3 and 4 from the hooks, including some custom OJET commandline parameters (if that is even possible).
I have read this post: , I understand the option 1 in it, but I want to go for option 2 and it is not explaining how to make things work from the hooks (i.e. an example would be nice :-) )
many thanks for helping with this one.
Luc