Skip to content

Commit

Permalink
Adding .war file as an equivalent to zip
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Morton authored and Ryan Morton committed Nov 14, 2013
1 parent 698135e commit 72b16b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = (grunt) ->
spawnCmd =
cmd: 'tar'
args: "zxf #{temp_path} -C #{path}".split ' '
else if artifact.ext in [ 'zip', 'jar' ]
else if artifact.ext in [ 'zip', 'jar', 'war' ]
spawnCmd =
cmd : 'unzip',
args: "#{temp_path} -d #{path}".split(' ')
Expand Down

0 comments on commit 72b16b7

Please sign in to comment.