Still have to figure out how to pass -s to the emacs go-mode hook.

This commit is contained in:
Ian A. Mason 2017-07-05 17:48:40 -07:00
parent 562983793a
commit 7962ec6e99
3 changed files with 5 additions and 2 deletions

View File

@ -43,7 +43,7 @@ func Compile(args []string, compiler string) (exitCode int) {
exitCode = 1
}
// Else try to build bitcode as well
// Else try to build bitcode as well
} else {
var bcObjLinks []bitcodeToObjectLink
var newObjectFiles []string

View File

@ -51,10 +51,13 @@ func makeLogger(lvl int) func(format string, a ...interface{}) {
//LogDebug logs to the configured stream if the logging level is DEBUG.
var LogDebug = makeLogger(debugV)
//LogInfo logs to the configured stream if the logging level is INFO or lower.
var LogInfo = makeLogger(infoV)
//LogWarning logs to the configured stream if the logging level is WARNING or lower.
var LogWarning = makeLogger(warningV)
//LogError logs to the configured stream if the logging level is ERROR or lower.
var LogError = makeLogger(errorV)

View File

@ -10,7 +10,7 @@ func execCmd(cmdExecName string, args []string, workingDir string) (success bool
cmd := exec.Command(cmdExecName, args...)
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
cmd.Stdin = os.Stdin
cmd.Stdin = os.Stdin
cmd.Dir = workingDir
err = cmd.Run()
success = (err == nil)