Add tool to build local server tarballs.

We need to maintain this by labeling the files that we don't want to
ship with our local server tarballs in the .gitattributes file.

(imported from commit e29f38c477a4cdfd80fbb8e4e95c611b34f3b212)
This commit is contained in:
Tim Abbott 2013-10-29 15:04:55 -04:00
parent 9be1333c6b
commit 5b33c44f64
2 changed files with 10 additions and 0 deletions

7
.gitattributes vendored Normal file
View File

@ -0,0 +1,7 @@
/tools export-ignore
/bots export-ignore
/servers/network-hardware-passwords export-ignore
/zilencer export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/templates/.gitignore export-ignore

View File

@ -0,0 +1,3 @@
#!/bin/sh -ex
git archive -o /tmp/zulip-server.tar.gz HEAD