mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 16:47:28 +01:00
Let test binaries run from any dir in the repo
Also spin out generate.WuffsRoot into its own package.
This commit is contained in:
1 parent
e2d1f8e0c2
commit
3854ce3e89
13 files changed
+208
-147
No files matched your search
+2
-2
@@ -25,7 +25,7 @@ import (
|
||||
"sort"
|
||||
"strings"
|
||||
|
||||
"github.com/google/wuffs/lang/generate"
|
||||
"github.com/google/wuffs/lang/wuffsroot"
|
||||
)
|
||||
|
||||
var commands = []struct {
|
||||
@@ -65,7 +65,7 @@ func main1() error {
|
||||
flag.Usage = usage
|
||||
flag.Parse()
|
||||
|
||||
wuffsRoot, err := generate.WuffsRoot()
|
||||
wuffsRoot, err := wuffsroot.Value()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user