Skip to content
Permalink
Browse files

Install tools before build

  • Loading branch information...
thomasf committed Apr 26, 2016
1 parent 164913f commit 9228ba8f3622b9ea04e5c1093249deff1ddc0e38
Showing with 10 additions and 4 deletions.
  1. +10 −4 make.go
14 make.go
@@ -820,6 +820,14 @@ func ReleaseChromeExtTask() {
}
}

// install tools required by build process
func toolsTask() {
runCmd("go", "install",
"github.com/alkasir/alkasir/vendor/github.com/elazarl/go-bindata-assetfs",
"github.com/alkasir/alkasir/vendor/github.com/jteeuwen/go-bindata",
)
}

// DepsTask installs various build dependencies
func DepsTask() {
if offlineFlag {
@@ -829,11 +837,8 @@ func DepsTask() {
var wg sync.WaitGroup
wg.Add(1)
go func() {
toolsTask()
defer wg.Done()
runCmd("go", "get", "-u",
"github.com/jteeuwen/go-bindata/...",
"github.com/elazarl/go-bindata-assetfs/...",
)
}()
wg.Add(1)
go func() {
@@ -1135,6 +1140,7 @@ func TranslationsFixupTask() {

func CITask() {
Run("clean")
toolsTask()
runCmd("npm", "install", "--silent")
Run("browser")
Run("bindata")

0 comments on commit 9228ba8

Please sign in to comment.
You can’t perform that action at this time.