add gopack
This commit is contained in:
parent
0c7f659298
commit
27fd6ab2fe
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
bin/
|
||||
benchmark/
|
||||
benchmark/
|
||||
.gopack
|
BIN
bin/gopack-darwin-amd64
Executable file
BIN
bin/gopack-darwin-amd64
Executable file
Binary file not shown.
BIN
bin/gopack-linux-amd64
Executable file
BIN
bin/gopack-linux-amd64
Executable file
Binary file not shown.
3
gopack.config
Normal file
3
gopack.config
Normal file
@ -0,0 +1,3 @@
|
||||
[deps.mux]
|
||||
import = "github.com/gorilla/mux"
|
||||
commit = "b08c5fcf14d01cb0c20ddf70157f54d4a2c3a38a"
|
6
script/bootstrap
Executable file
6
script/bootstrap
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
location="bin/gopack-darwin-amd64"
|
||||
[ -d "/proc" ] && location="bin/gopack-linux-amd64"
|
||||
|
||||
$location version
|
@ -1 +1,2 @@
|
||||
go run script/build.go "$@"
|
||||
GOPATH="`pwd`/.gopack/vendor" \
|
||||
go run script/build.go "$@"
|
||||
|
@ -1,3 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
gofmt -w -l *.go cmd/*.go commands/*.go filters/*.go script/*.go
|
||||
gofmt -w -l *.go \
|
||||
cmd/*.go \
|
||||
commands/*.go \
|
||||
filters/*.go \
|
||||
script/*.go \
|
||||
|
@ -1,2 +1,2 @@
|
||||
script/fmt
|
||||
go run cmd/git-media.go "$@"
|
||||
GOPATH="`pwd`/.gopack/vendor" go run cmd/git-media.go "$@"
|
||||
|
@ -1,2 +1,4 @@
|
||||
script/fmt
|
||||
go test . && script/build
|
||||
GOPATH="`pwd`/.gopack/vendor" \
|
||||
go test . &&
|
||||
script/build
|
||||
|
Loading…
Reference in New Issue
Block a user