summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fa93380..ecbf8d4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,14 @@
-all:
- go build -v -x
+all: build
./helloworld
+build:
+ -rm -f helloworld
+ go build -v -x
+
+stderr: build
+ echo "writing to /tmp/helloworld.stderr"
+ ./helloworld >/tmp/helloworld.stderr 2>&1
+
push:
git add --all
git commit -a