diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-10-06 21:39:29 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2019-02-16 16:58:48 +0100 |
commit | e0c88039b6d88b03a91dec34d69b2d776860135d (patch) | |
tree | db542d7f9c68fe855c6c262b35fa1d84c12b7234 /scripts | |
parent | 6662fb5c8fabb1611baf852d1b62a956103bd56d (diff) | |
download | php-git-e0c88039b6d88b03a91dec34d69b2d776860135d.tar.gz |
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
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dev/snapshot | 7 | ||||
-rwxr-xr-x | scripts/dev/vcsclean | 7 |
2 files changed, 14 insertions, 0 deletions
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 |