Reorganize repo: move scripts to contrib/scripts/, clean up .gitignore, untrack backup files
This commit is contained in:
17
contrib/scripts/tushd
Executable file
17
contrib/scripts/tushd
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (c) 2016-2024 The Hush developers
|
||||
# Distributed under the GPLv3 software license, see the accompanying
|
||||
# file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
# 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"
|
||||
|
||||
# ./hushd -ac_name=TUSH -ac_private=1 -gen=1 -testnode=1
|
||||
./hushd -ac_name=TUSH -ac_private=1 -ac_supply=55555
|
||||
|
||||
Reference in New Issue
Block a user