From e0c88039b6d88b03a91dec34d69b2d776860135d Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sat, 6 Oct 2018 21:39:29 +0200 Subject: Move some scripts from root directory to scripts/dev/ At the time of this commit, there is a dedicated folder for development related tools and such scripts might fit better there to not bloat the project root directory too much. Move snapshot to scripts/dev/snapshot --- scripts/dev/snapshot | 7 +++++++ scripts/dev/vcsclean | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100755 scripts/dev/snapshot create mode 100755 scripts/dev/vcsclean (limited to 'scripts') diff --git a/scripts/dev/snapshot b/scripts/dev/snapshot new file mode 100755 index 0000000000..f8e13ef9d9 --- /dev/null +++ b/scripts/dev/snapshot @@ -0,0 +1,7 @@ +#! /bin/sh + +if test -n "$1"; then + flags="DISTNAME=$1" +fi + +${MAKE:-make} $flags -f build/build.mk snapshot diff --git a/scripts/dev/vcsclean b/scripts/dev/vcsclean new file mode 100755 index 0000000000..fc7fc2f805 --- /dev/null +++ b/scripts/dev/vcsclean @@ -0,0 +1,7 @@ +#! /bin/sh + +if test -d '.git' -o -f '.git'; then + ${MAKE:-make} -f build/build.mk gitclean-work +else + echo "Can't figure out your VCS, not cleaning." +fi -- cgit v1.2.1