Commit 112700cf authored by Erick Hitter's avatar Erick Hitter
Browse files

Basic Makefile, to eventually replace the verbose instructions

parent 7004a5bd
# MakeFile for cron-control-runner
DIR=`pwd`
GO=/usr/local/go/bin/go
EXECUTABLE=cron-control-runner
all:
GOPATH=${DIR}/../ ${GO} build -o ${DIR}/../bin/${EXECUTABLE}
clean:
@ rm -f ${DIR}/../bin/${EXECUTABLE}
......@@ -36,13 +36,13 @@ In addition to the REST API endpoints that can be used to run events, a Go-based
If building on the target system, or under the same OS as the target machine, simply:
```
go build runner.go
make
```
If building from a different OS:
```
env GOOS=linux go build runner.go
env GOOS=linux make
```
Substitute `linux` with your target OS.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment