• Eric Chiang's avatar
    *: check go version before building · 18bbd94f
    Eric Chiang authored
    Add a script to check the Go version before building dex. This
    gives a nice error message rather than just failing to compile.
    
    With changes:
    
        $ go version
        go version go1.6.4 linux/amd64
        $ make
        ERROR: dex requires Go version 1.7+. Please update your Go installation: https://golang.org/dl/
        Makefile:93: recipe for target 'check-go-version' failed
        make: *** [check-go-version] Error 2
    
    Checks only added for building the actual binary, not tests, since
    this is aimed at users just starting off with the project.
    18bbd94f
Name
Last commit
Last update
Documentation Loading commit data...
api Loading commit data...
cmd Loading commit data...
connector Loading commit data...
examples Loading commit data...
scripts Loading commit data...
server Loading commit data...
storage Loading commit data...
vendor Loading commit data...
version Loading commit data...
web Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
DCO Loading commit data...
Dockerfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
glide.lock Loading commit data...
glide.yaml Loading commit data...
glide_test.go Loading commit data...