Reorganize repo: move scripts to contrib/scripts/, clean up .gitignore, untrack backup files

This commit is contained in:
dan_s
2026-02-26 19:42:28 -06:00
parent 10a1b27de1
commit 896fa9c107
35 changed files with 363 additions and 19505 deletions

View File

@@ -0,0 +1,17 @@
#!/usr/bin/env bash
# Copyright (c) 2016-2024 The Hush developers
# Resolve binary directory
SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
if [ -f "$SCRIPTDIR/hush-cli" ] || [ -f "$SCRIPTDIR/hushd" ]; then
BINDIR="$SCRIPTDIR"
else
BINDIR="$SCRIPTDIR/../../src"
fi
cd "$BINDIR"
DEFAULTS=""
# People can just use hushd going forward, but this script makes it
# more clear what is going on
HUSH="./hushd"
$HUSH $DEFAULTS "$@"