From defd5b62f169ef1c162e1312fe3f27f9657a0e0c Mon Sep 17 00:00:00 2001 From: Alexander Avery Date: Mon, 11 Mar 2024 15:58:59 -0400 Subject: [PATCH] add Makefile and README.md --- Makefile | 6 ++++++ README.md | 10 ++++++++++ 2 files changed, 16 insertions(+) create mode 100644 Makefile create mode 100644 README.md 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`. +