Skip to content

Commit e11edea

Browse files
authored
Merge pull request #228 from codacy/fix-rm-jar-on-target
Remove the rm .jar because it's removing necessary binaries
2 parents 7273c9e + ce79631 commit e11edea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/sbt_cached.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ steps:
149149
find $HOME/.sbt -name "*.lock" | xargs rm | true
150150
find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm | true
151151
# delete all jars inside target directories
152-
find . -name *.jar -type f -exec rm {} \;
152+
find . -type f -name *.jar ! -name *-assembly.jar -exec rm {} \;
153153
# zip all targets to a single file
154154
find . -name target -type d -prune -print | zip -r -q -1 -@ ~/targets.zip
155155

0 commit comments

Comments
 (0)