|
|
|
@ -21,7 +21,7 @@
|
|
|
|
|
{
|
|
|
|
|
"type": "script",
|
|
|
|
|
"commands": [
|
|
|
|
|
". /app/bin/scripts/my_enable.sh; cd /app/go/src/$1; go build"
|
|
|
|
|
". /app/bin/scripts/my_enable.sh; cd /app/go/src/$1; go build -o x"
|
|
|
|
|
],
|
|
|
|
|
"dest-filename": "build.sh"
|
|
|
|
|
}
|
|
|
|
@ -38,7 +38,7 @@
|
|
|
|
|
"buildsystem": "simple",
|
|
|
|
|
"build-commands": [
|
|
|
|
|
"cp -rpv go/* /app/go/",
|
|
|
|
|
"/app/bin/scripts/build.sh github.com/miguelmota/cointop -o x",
|
|
|
|
|
"/app/bin/scripts/build.sh github.com/miguelmota/cointop",
|
|
|
|
|
"ls /app/go/src/github.com/miguelmota/cointop",
|
|
|
|
|
"install -D /app/go/src/github.com/miguelmota/cointop/x /app/bin/cointop"
|
|
|
|
|
],
|
|
|
|
|