github.com/getgauge/gauge@v1.6.9/build/run.sh (about) 1 # ---------------------------------------------------------------- 2 # Copyright (c) ThoughtWorks, Inc. 3 # Licensed under the Apache License, Version 2.0 4 # See LICENSE.txt in the project root for license information. 5 # ---------------------------------------------------------------- 6 7 option="${1}" 8 case ${option} in 9 test) 10 go test ./... -v 11 ;; 12 build|"") 13 go run build/make.go 14 ;; 15 *) 16 echo "`basename ${0}`:usage: [build|test]" 17 exit 1 18 ;; 19 esac