Skip to content

Commit

Permalink
Merge pull request #4458 from harmony-one/dev
Browse files Browse the repository at this point in the history
Release Candidate 2023.2.3
  • Loading branch information
ONECasey authored Jun 29, 2023
2 parents 3d8d455 + 9df6215 commit 7ad50af
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
13 changes: 13 additions & 0 deletions scripts/install_build_tools.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

set -eu

unset -v progdir
case "${0}" in
/*) progdir="/";;
*/*) progdir="${0%/*}";;
*) progdir=".";
esac

sed -n 's/^ _ "\([^"]*\)"$/\1/p' "${progdir}/../tools/tools.go" | \
xargs "${progdir}/goget.sh"
1 change: 0 additions & 1 deletion tools/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ package tools
// scripts/install_build_tools.sh parses these imports to install them.
import (
_ "github.com/golang/mock/mockgen"
_ "github.com/golang/protobuf/protoc-gen-go"
_ "github.com/golangci/golangci-lint/cmd/golangci-lint"
)

0 comments on commit 7ad50af

Please sign in to comment.