diff --git a/printing/Makefile b/printing/Makefile deleted file mode 100644 index 2cb4239..0000000 --- a/printing/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -build: clean compile - -clean: - rm -f ./html/test.wasm - -compile: - GOOS=js GOARCH=wasm GOROOT=$(GOPATH)/src/github.com/neelance/go/ $(GOPATH)/src/github.com/neelance/go/bin/go build -o ./html/test.wasm main.go diff --git a/printing/README.md b/printing/README.md deleted file mode 100644 index 7dc8ecf..0000000 --- a/printing/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# Printing - -## Running: - -Simply open ./html/index.html in a web browser of your choice (that supports WebAssembly) - -## Building - -```bash -$ make build -``` - -This requires the WASM Go fork in your $GOPATH, and the compiled Go binary in that fork to be built. diff --git a/printing/main.go b/printing/main.go deleted file mode 100644 index e4f15a3..0000000 --- a/printing/main.go +++ /dev/null @@ -1,11 +0,0 @@ -package main - -import ( - "fmt" - "runtime/js" -) - -func main() { - fmt.Println("Test") - js.Global.Get("console").Call("log", "yadayada") -}