misc, lang: Small fixups

Change some minor style issues.
This commit is contained in:
James Shubin
2020-02-27 17:34:03 -05:00
parent 006de6da14
commit 380d03257f
2 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ SHELL = /usr/bin/env bash
all: fuzz
fuzz:
mkdir -p corpus
find ../.. -name \*.mcl -exec cp {} corpus \;
mkdir -p corpus/
find ../.. -name \*.mcl -exec cp {} corpus/ \;
go-fuzz-build
go-fuzz -bin=./lang-fuzz.zip -workdir=.

View File

@@ -128,7 +128,7 @@ go get golang.org/x/tools/cmd/stringer # for automatic stringer-ing
go get golang.org/x/lint/golint # for `golint`-ing
go get golang.org/x/tools/cmd/goimports # for fmt
go get github.com/tmthrgd/go-bindata/go-bindata # for compiling in non golang files
go get golang.org/dvyukov/go-fuzz # for fuzzing the mcl lang bits
go get golang.org/dvyukov/go-fuzz # for fuzzing the mcl lang bits
if env | grep -q -e '^TRAVIS=true$' -e '^JENKINS_URL=' -e '^BUILD_TAG=jenkins'; then
go get -u gopkg.in/alecthomas/gometalinter.v1 && mv "$(dirname $(command -v gometalinter.v1))/gometalinter.v1" "$(dirname $(command -v gometalinter.v1))/gometalinter" && gometalinter --install # bonus
fi