github.com/rita33cool1/iot-system-gateway@v0.0.0-20200911033302-e65bde238cc5/docker-engine/hack/dockerfile/install/tomlv.installer (about)

     1  #!/bin/sh
     2  
     3  # When updating TOMLV_COMMIT, consider updating github.com/BurntSushi/toml
     4  # in vendor.conf accordingly
     5  TOMLV_COMMIT=a368813c5e648fee92e5f6c30e3944ff9d5e8895
     6  
     7  install_tomlv() {
     8  	echo "Install tomlv version $TOMLV_COMMIT"
     9  	git clone https://github.com/BurntSushi/toml.git "$GOPATH/src/github.com/BurntSushi/toml"
    10  	cd "$GOPATH/src/github.com/BurntSushi/toml" && git checkout -q "$TOMLV_COMMIT"
    11  	go build -v -buildmode=pie -o ${PREFIX}/tomlv github.com/BurntSushi/toml/cmd/tomlv
    12  }