-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreate-binary.sh
30 lines (26 loc) · 1.12 KB
/
create-binary.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh -e
# crypto-miner-manger create-binary.sh
echo " "
if [ "$1" = "-debug" ]
then
echo "************************************************************************"
echo "* create-binary.sh -debug (START) **************************************"
echo "************************************************************************"
# set -x enables a mode of the shell where all executed commands
# are printed to the terminal.
set -x
echo " "
else
echo "************************************************************************"
echo "* create-binary.sh (START) *********************************************"
echo "************************************************************************"
echo " "
fi
echo "Create a binary crypto-miner in /bin"
echo " Kick off executable with ./data-crunch-engine"
go build -o data-crunch-engine ../main.go
echo " "
echo "************************************************************************"
echo "* create-binary.sh (END) ***********************************************"
echo "************************************************************************"
echo " "