Skip to content

Commit

Permalink
Ignore .gitignore and .gitattributes for exports
Browse files Browse the repository at this point in the history
Allow local attributes to alter distribution archives
  • Loading branch information
carstene1ns committed May 25, 2015
1 parent 64e3e38 commit 690c7c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@

# ignore Makefile for distribution archives
/Makefile export-ignore

# ignore .gitignore and this file (the .gitignore files in subdirectories
# are not really used, but just a way to track empty directories)
.gitignore export-ignore
.gitattributes export-ignore
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ dist: dist-tar dist-zip

dist-zip:
@rm -f easyrpg-rtp.zip
@git archive --prefix=EasyRPG-RTP/ -9 --output=$(MYDIR)/easyrpg-rtp.zip master
@git archive --prefix=EasyRPG-RTP/ -9 --output=$(MYDIR)/easyrpg-rtp.zip --worktree-attributes master

dist-tar:
@rm -f easyrpg-rtp.tar.gz
@git archive --prefix=EasyRPG-RTP/ --output=$(MYDIR)/easyrpg-rtp.tar.gz master
@git archive --prefix=EasyRPG-RTP/ --output=$(MYDIR)/easyrpg-rtp.tar.gz --worktree-attributes master

optimize: optimize-png

Expand Down

0 comments on commit 690c7c0

Please sign in to comment.