Added tests for examples
This commit is contained in:
parent
a0edc45e19
commit
1510f88165
4 changed files with 87 additions and 3 deletions
|
@ -53,9 +53,7 @@ func Build(args []string) int {
|
|||
return 0
|
||||
}
|
||||
|
||||
path := b.Executable()
|
||||
code, data := result.Finalize()
|
||||
err = build.Write(path, code, data)
|
||||
err = result.Write(b.Executable())
|
||||
|
||||
if err != nil {
|
||||
fmt.Fprintln(os.Stderr, err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue