Skip to content

Commit

Permalink
#11 Tarball should not include old copies of itself
Browse files Browse the repository at this point in the history
bahamat authored and arekinath committed Oct 1, 2018

Verified

This commit was signed with the committer’s verified signature.
Meulengracht Philip Meulengracht
1 parent 812a251 commit ca814fe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -8,8 +8,12 @@ $(ARCHIVE): $(SCRIPT)
find . -type f \
-not -path '*/.git/*' \
-not -name '.git*' \
-not -name '.travis.yml' | \
-not -name '.travis.yml' \
-not -name '$(ARCHIVE)' | \
xargs tar -czf "$@"

$(SCRIPT):
git submodule init && git submodule update

clean:
rm $(ARCHIVE)

0 comments on commit ca814fe

Please sign in to comment.