Releases: charlievieth/buildutil
v0.0.15: add contextutil.HasSubdirFunc
commit f63293f
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Tue Aug 9 16:49:42 2022 -0400
contextutil: add HasSubdirFunc and fixup benchmarks
The new function HasSubdirFunc returns a function that can be used for
build.Context.HasSubdir. This commit also fixes up some comments and
fixes the HasSubdir benchmarks.
commit f2974b6
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Tue Aug 9 15:19:24 2022 -0400
buildutil: benchmark MatchContext with GOARCH, GOOS, and a build tag
commit 04b8099
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Sun Aug 7 16:08:25 2022 -0400
gh: update dependabot to run daily
Support "unix" build constraint only in go1.19 and later
v0.0.14
commit 707cad8
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Sun Aug 7 15:59:17 2022 -0400
buildutil: only support "unix" build constraint in go1.19 and later
commit aad472f
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Sun Aug 7 15:47:00 2022 -0400
buildutil: sort and test knownArchList and knownOSList
commit 1751bc2
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Sat Aug 6 23:24:02 2022 -0400
buildutil: set GOPATH for TestGoCommandAll
commit 8a122fb
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Sat Aug 6 23:20:43 2022 -0400
gh: only test on go1.19
commit 35f2e8e
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Sat Aug 6 23:14:43 2022 -0400
add README
commit b7cf497
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Sat Aug 6 23:10:08 2022 -0400
mod: update dependencies
commit d76a59b
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Sat Aug 6 23:10:04 2022 -0400
gh: remove richgo dependency from test workflow
commit 213cebc
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Sat Aug 6 23:05:20 2022 -0400
buildutil: remove dead code
commit b2966f6
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Sat Aug 6 22:30:15 2022 -0400
github: run tests against go1.19
Update buildutil for go1.19
v0.0.13
commit 0ef77b8
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Sat Aug 6 22:27:30 2022 -0400
buildutil: update tests for new "unix" build constraint
commit b7eed9c
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Sat Aug 6 22:13:25 2022 -0400
all: update formatting for go1.19
commit 8779d4f
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Sat Aug 6 22:11:27 2022 -0400
buildutil: update syslist and matchTag for go1.19
commit a0ebae8
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Sat Aug 6 22:09:42 2022 -0400
platform_list: update for go1.19
buildutil: remove tags field from Constraint
v0.0.12
commit 7610f75
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Sat May 28 18:39:35 2022 -0400
buildutil: remove tags field from Constraint
The tags field is not needed.
buildutil: add Constraint and ParseConstraint
v0.0.11
commit 47d355c
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Sat May 28 16:23:22 2022 -0400
buildutil: add Constraint and ParseConstraint
The new ParseConstraint function can be used to parse and return the
build constraints of a Go source file. The returned Constraint can be
evaluated against a build.Context to determine if the file should be
included in a build.
buildutil: add MatchFile
v0.0.10
commit d75fbba
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Tue May 24 21:46:41 2022 -0400
buildutil: add MatchFile to replicate build.Context.MatchFile
MatchFile is like build.Context.MatchFile but takes a "src" argument and
returns the package name of the parsed file.
commit d15104b
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Tue May 24 21:46:03 2022 -0400
buildutil: add missing calls to io.ReadCloser.Close()
commit c35f045
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Tue May 24 21:16:34 2022 -0400
buildutil: openReader use src, if provided
This changes openReader to use the provided source, if any, before
checking Context.OpenFile.
commit 27aa652
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Fri May 20 14:01:57 2022 -0400
all: move CopyContext to internal/util
commit 30e6536
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Fri May 20 12:28:30 2022 -0400
internal/util: speed up Environ.Index()
Environ.Index constitutes a large portion of buildutil.GoCommand's run
time.
commit 0a12beb
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu May 19 20:16:24 2022 -0400
github: add dependabot
commit 9d61f2d
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu May 19 20:16:11 2022 -0400
workflows: delete old Windows workflow
commit 81a7145
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu May 19 20:15:19 2022 -0400
workflows: cleanup test
commit c28fef2
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu May 19 19:02:47 2022 -0400
buildutil: fix TestMatchContextWalkStdLib on Windows
commit 2db94cd
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu May 19 18:56:46 2022 -0400
contextutil: fix inGopath on Windows
commit 6c58370
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu May 19 18:38:51 2022 -0400
buildutil: fix TestImportPath on Windows
commit 214c29b
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu May 19 18:26:06 2022 -0400
buildutil: fix TestFixGOPATH on Windows
commit 4457c85
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu May 19 13:25:51 2022 -0400
all: fix more failing Windows tests
commit b699875
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Wed May 18 22:24:12 2022 -0400
readdir: skip TestReadDirError on Windows
Test is not possible on Windows.
commit a1b096f
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Wed May 18 22:19:33 2022 -0400
workflows: fix Windows tests
commit 0e051bc
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Wed May 18 22:19:14 2022 -0400
workflows: skip GoCommandAll test in CI
commit dd351a5
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Wed May 18 22:17:11 2022 -0400
contextutil/test: use fake GOPATH for TestMinImportDir/GOPATH
commit 0083b9e
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Wed May 18 22:01:50 2022 -0400
gh: add test workflow
commit 3bfd701
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Wed May 18 20:23:14 2022 -0400
buildutil/test: simplify TestGoCommandAll
commit c97f6ac
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Thu May 12 21:07:48 2022 -0400
buildutil/test: bench ShortImport* one file per-iteration
Previously, we iterated through all the files per-iteration, which gives
a poor sense of ShortImport's per-file performance. This commit changes
it to call ShortImport with 1 file per-iteration.
Actually fix GOPATH in MatchContext and update deps
v0.0.9
commit 7fb109d
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Tue May 3 16:37:53 2022 -0400
mod: udpate dependencies
commit 96ce2d5
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Tue May 3 16:35:59 2022 -0400
Add go-match-context cmd for debugging issues with MatchContext
commit 269c26b
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Tue May 3 16:35:10 2022 -0400
match: fix GOPATH when matching Context
buildutil: MatchContext fixup Context GOPATH
commit 3058e12
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Mon May 2 20:58:55 2022 -0400
buildutil: MatchContext fixup Context GOPATH
Update buildutil for go:build directives and add contextutil
commit 1969cc3
Merge: 325bbfd 9f76e84
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Fri Apr 29 23:46:26 2022 -0400
Merge pull request #2 from charlievieth/contextutil
Update buildutil for go:build directives and add contextutil
commit 9f76e84 (origin/contextutil, contextutil)
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Fri Apr 29 15:24:05 2022 -0400
buildutil: support '//go:build' directives
commit 3f11478
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Mon Apr 25 20:04:16 2022 -0400
tests: reset reader in overlay benchmarks
Change BenchmarkShortImport_Overlay to reset the io.Reader returned by
the overlay filesystem.
commit ce1d031
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Sun Apr 24 18:06:06 2022 -0400
contextutil: improve ScopedContext comment
commit e065a4a
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Sun Apr 24 17:42:10 2022 -0400
readdir: improve test coverage and don't duplicate fs.DirEntry methods
commit 8833add
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Fri Apr 29 23:42:13 2022 -0400
contextutil: add contextutil for creating a scoped build.Context
buildutil: special case "appengine" and prefer arm64
v0.0.6
commit 4ffa108 (HEAD -> master, origin/master, origin/HEAD)
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Sun Jan 16 23:12:06 2022 -0500
buildutil: special case "appengine" and prefer arm64
commit 2195622
Author: Charlie Vieth charlie.vieth@gmail.com
Date: Fri Sep 3 17:45:23 2021 -0600
syslist: update for go1.17