diff options
Diffstat (limited to 'BuildTools/package_debian.sh')
-rwxr-xr-x | BuildTools/package_debian.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/BuildTools/package_debian.sh b/BuildTools/package_debian.sh new file mode 100755 index 0000000..3d01243 --- /dev/null +++ b/BuildTools/package_debian.sh @@ -0,0 +1,10 @@ +VERSION=1.0 +PACKAGE=swift-$VERSION + +rm -rf $PACKAGE +git archive --format=tar --prefix=$PACKAGE/ HEAD | tar x +cp -r Swift/Packaging/Debian $PACKAGE/debian +pushd $PACKAGE +SWIFT_VERSION=$VERSION dpkg-buildpackage -rfakeroot +popd +rm -rf $PACKAGE |