Have "wuffs genlib -skipgen" still build base libs

This commit is contained in:
Nigel Tao committed 2018-08-19 17:36:27 +10:00
1 parent 32b9ee4c37
commit babd6e667d
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ func doGenGenlib(wuffsRoot string, args []string, genlib bool) error {
}
args = flags.Args()
if len(args) == 0 {
args = []string{"std/..."}
args = []string{"base", "std/..."}
}
h := genHelper{
+4 -1
View File
@@ -68,7 +68,7 @@ func doBenchTest(wuffsRoot string, args []string, bench bool) error {
args = flags.Args()
if len(args) == 0 {
args = []string{"std/..."}
args = []string{"base", "std/..."}
}
cmdArgs := []string(nil)
@@ -156,6 +156,9 @@ type testHelper struct {
}
func (h *testHelper) benchTest(dirname string, recursive bool) (failed bool, err error) {
if dirname == "base" {
return false, nil
}
qualFilenames, dirnames, err := listDir(
filepath.Join(h.wuffsRoot, filepath.FromSlash(dirname)), ".wuffs", recursive)
if err != nil {