misc, lang: Small fixups
Change some minor style issues.
This commit is contained in:
@@ -21,7 +21,7 @@ SHELL = /usr/bin/env bash
|
|||||||
all: fuzz
|
all: fuzz
|
||||||
|
|
||||||
fuzz:
|
fuzz:
|
||||||
mkdir -p corpus
|
mkdir -p corpus/
|
||||||
find ../.. -name \*.mcl -exec cp {} corpus \;
|
find ../.. -name \*.mcl -exec cp {} corpus/ \;
|
||||||
go-fuzz-build
|
go-fuzz-build
|
||||||
go-fuzz -bin=./lang-fuzz.zip -workdir=.
|
go-fuzz -bin=./lang-fuzz.zip -workdir=.
|
||||||
|
|||||||
@@ -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/lint/golint # for `golint`-ing
|
||||||
go get golang.org/x/tools/cmd/goimports # for fmt
|
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 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
|
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
|
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
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user