Files
nigiri/scripts/clean
Francis 63bdf3ce79 added Makefile (#99)
* added Makefile

* updated travis for makefile

* fixed travis

* fixed travis 2

* updated documentation for makefile
2020-09-18 16:13:35 +02:00

24 lines
425 B
Bash
Executable File

#!/bin/bash
set -ex
PARENT_PATH=$(dirname $(cd $(dirname $0); pwd -P))
pushd $PARENT_PATH
case $(uname -s) in
Darwin) OS="darwin";;
Linux) OS="linux";;
*) echo "OS $OS not supported"; exit 1;;
esac
case $(uname -m) in
amd64) ARCH="amd64";;
x86_64) ARCH="amd64";;
*) echo "Architecture $ARCH not supported"; exit 1;;
esac
./build/nigiri-$OS-$ARCH stop --delete &>/dev/null
rm -rf build vendor ~/.nigiri
popd