diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8631949 --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ +all: main.go main.ha + go build -o tick-go main.go + hare build -o tick-ha main.ha + +clean: tick-go tick-ha + rm ./tick-go ./tick-ha diff --git a/README.md b/README.md new file mode 100644 index 0000000..3363a75 --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +# Tick Servers in Go and Hare + +This repository corresponds to [this blog post](https://beetbox.io/posts/do-not-fear-systems-programming/). + +## Building + +You can compile both the Go and Hare server by invoking `make`. +This will produce the files `tick-go` and `tick-ha`. +With either server running, you can connect locally with `telnet 127.0.0.1 8080`. +