Home | History | Annotate | Download | only in microfactory

Lines Matching refs:pkg

104 		pkg := loadPkg()
106 if err := pkg.Compile(filepath.Join(dir, "out"), ""); err != nil {
110 if err := pkg.Link(out); err != nil {
126 after func(pkg *GoPackage)) {
134 pkg := loadPkg()
136 if err := pkg.Compile(filepath.Join(dir, "out"), ""); err != nil {
140 if err := pkg.Link(out); err != nil {
160 pkg = loadPkg()
162 if err := pkg.Compile(filepath.Join(dir, "out"), ""); err != nil {
166 if !pkg.rebuilt {
170 if pkg.rebuilt {
175 if err := pkg.Link(out); err != nil {
179 if !pkg.rebuilt {
183 if pkg.rebuilt {
204 after(pkg)
211 testBuildAgain(t, false, false, func(dir string, loadPkg loadPkgFunc) {}, func(pkg *GoPackage) {})
228 }, func(pkg *GoPackage) {})
238 }, func(pkg *GoPackage) {
239 if !pkg.deps[0].rebuilt {
242 if !pkg.deps[1].rebuilt {
255 }, func(pkg *GoPackage) {
256 if pkg.deps[0].rebuilt {
259 if pkg.deps[1].rebuilt {
272 }, func(pkg *GoPackage) {})
283 pkg := loadPkg()
285 if err := pkg.Compile(filepath.Join(dir, "out"), ""); err != nil {
288 if !pkg.rebuilt {
291 }, func(pkg *GoPackage) {})
299 pkg := loadPkg()
300 if err := pkg.Compile(filepath.Join(dir, "out"), ""); err != nil {
304 if err := pkg.Link(filepath.Join(dir, "out", "test")); err != nil {
315 pkg := loadPkg()
317 if err := pkg.Compile(filepath.Join(dir, "out"), ""); err != nil {
321 if err := pkg.Link(filepath.Join(dir, "out", "test")); err != nil {
328 pkg := loadPkg()
330 if err := pkg.Compile(filepath.Join(dir, "out"), ""); err != nil {
334 if err := pkg.Link(filepath.Join(dir, "out", "test")); err != nil {
338 if pkg.rebuilt {
410 pkg := &GoPackage{
415 if err := pkg.FindDeps(filepath.Join(dir, "main"), pkgMap); err != nil {
418 return pkg