mirror of
https://github.com/danog/gllvm.git
synced 2024-11-26 21:34:47 +01:00
Still have to figure out how to pass -s to the emacs go-mode hook.
This commit is contained in:
parent
562983793a
commit
7962ec6e99
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user