github.com/xenophex/i18n4go@v0.2.7-0.20160907212557-40256cda157a/integration/test_helpers/build_executable.go (about)

     1  package test_helpers
     2  
     3  import (
     4  	"github.com/onsi/gomega/gexec"
     5  
     6  	. "github.com/onsi/gomega"
     7  )
     8  
     9  var I18n4goExec string
    10  
    11  func BuildExecutable() {
    12  	var err error
    13  	I18n4goExec, err = gexec.Build("./../../i18n4go")
    14  	Ω(err).ShouldNot(HaveOccurred())
    15  }