From 5b33c44f64cc9ed3354ce7808ce0a0d9b03f5fcf Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 29 Oct 2013 15:04:55 -0400 Subject: [PATCH] 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) --- .gitattributes | 7 +++++++ tools/build-local-server-tarball | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 .gitattributes create mode 100755 tools/build-local-server-tarball diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..731053df0b --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/tools/build-local-server-tarball b/tools/build-local-server-tarball new file mode 100755 index 0000000000..0999b59991 --- /dev/null +++ b/tools/build-local-server-tarball @@ -0,0 +1,3 @@ +#!/bin/sh -ex + +git archive -o /tmp/zulip-server.tar.gz HEAD