Added a clean script for convenience.

This commit is contained in:
Chris Kleeschulte 2015-08-04 11:22:12 -04:00
parent 067a82976d
commit daa0f9ca5c
1 changed files with 9 additions and 0 deletions

9
bin/clean Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/.."
os_dir=$(${root_dir}/platform/os.sh osdir)
cd "${root_dir}"
rm -fr libbitcoind
rm -fr "${os_dir}"/*
node-pre-gyp clean