mirror of
https://github.com/zrepl/zrepl.git
synced 2025-08-14 09:08:24 +02:00
freeze Go build dependencies in Gopkg.lock
* use pseudo-depdencies in build/build.go to convince dep * update Travis, Dockerfile and Docs * build.Dockerfile image now contains the Go build dependencies * => faster builds * bump pdu file after protoc update fixes #106
This commit is contained in:
22
build/build.go
Normal file
22
build/build.go
Normal file
@ -0,0 +1,22 @@
|
||||
//+build windows
|
||||
|
||||
// This package cannot actually be built, and since the Travis
|
||||
// tests run go test ./..., we have to avoid a build attempt.
|
||||
// Windows is not supported atm, so this works ¯\_(ツ)_/¯
|
||||
|
||||
// This package is a pseudo-user of build-time dependencies for zrepl,
|
||||
// mostly for various code-generation tools.
|
||||
//
|
||||
// The imports are necessary to satisfy go dep
|
||||
package main
|
||||
|
||||
import (
|
||||
_ "fmt"
|
||||
_ "github.com/alvaroloes/enumer"
|
||||
_ "github.com/golang/protobuf/protoc-gen-go"
|
||||
_ "golang.org/x/tools/cmd/stringer"
|
||||
)
|
||||
|
||||
func main() {
|
||||
fmt.Println("just a placeholder")
|
||||
}
|
Reference in New Issue
Block a user