Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up zip/war files after deploy #6

Open
drewzboto opened this issue Oct 10, 2013 · 3 comments
Open

Clean up zip/war files after deploy #6

drewzboto opened this issue Oct 10, 2013 · 3 comments

Comments

@drewzboto
Copy link
Contributor

Currently the zip/war file seems to be left over after the deploy. Can produce the binary in a /maven folder, so that we can add that folder to the grunt clean task? Would help clean up after ourselves, and have a folder to also exclude from source control

@carlosouro
Copy link

Same issue here.

Is there any way to keep the "temporary" zip file in a specific location?

or

have an option to cleanup after the task has run...

@jbcpollak
Copy link
Contributor

👍 , This would be a useful feature.

@blackat
Copy link

blackat commented Jan 14, 2016

May be it is a bit late, but you can use grunt-contrib-clean and create a configuration to clean up the zip file created once the maven:deploy has finished

clean: {
    artifact: ['riskpro-ng*.zip'],
},

grunt.registerTask('deploy', 'Run the maven goal deploy.', function() {
    grunt.task.run([
        'clean:artifact',
        'clean:reports',
        'injector:sass',
        'sass',
        'injector',
        'html2js',
        'karma:continuous',
        'maven:deploy'
        'clean:artifact',
    ]);
});

I hope it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants