From 0f3141a5fcfbbe0f19ff773cfe0e63292bbc7abf Mon Sep 17 00:00:00 2001 From: Mark McGranaghan Date: Wed, 29 May 2019 07:37:07 -0700 Subject: [PATCH 1/2] Remove bios.sh for now --- bios.sh | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100755 bios.sh diff --git a/bios.sh b/bios.sh deleted file mode 100755 index 3a3f525..0000000 --- a/bios.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -set -ex - -mkdir -p src/$PKG && cd src/$PKG -run -s "Cloning" git clone $URL --branch $REF --single-branch . -git reset --hard $SHA - -go get github.com/russross/blackfriday -go get github.com/golang/lint/golint - -PKGS=$(go list $PKG/... | grep -v examples/variables) -run -s "Linting" golint -set_exit_status $PKGS - -PKGS=$(go list $PKG/... | grep -v examples/panic) -run -s "Vetting" go vet -x $PKGS - -run -s "Building" tools/build - -run -s "Verifying" git diff --exit-code From be8a0d93ba796fcd91655f7c63eab282c9152f7c Mon Sep 17 00:00:00 2001 From: Mark McGranaghan Date: Wed, 29 May 2019 07:44:10 -0700 Subject: [PATCH 2/2] Indicate where we're serving --- tools/serve | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/serve b/tools/serve index 9c74d8e..7f67eb8 100755 --- a/tools/serve +++ b/tools/serve @@ -14,4 +14,6 @@ Handler.extensions_map.update({ '': 'text/html', }); httpd = SocketServer.TCPServer(("", PORT), Handler) + +print("Serving Go by Example at http://127.0.0.1:{}".format(PORT)) httpd.serve_forever()