Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

goanywhere command -- create a Go workspace on the fly #114

Merged
merged 1 commit into from
Feb 26, 2024
Merged

Conversation

hugelgupf
Copy link
Member

@hugelgupf hugelgupf commented Feb 25, 2024

Allow compilation of Go commands even when not in a Go module.

Examples:

goanywhere ./u-root/cmds/core/ip -- go build -o $(pwd)

goanywhere ./u-root/cmds/core/init ./cpu/cmds/cpud -- mkuimage

goanywhere ./u-root/cmds/core/init ./cpu/cmds/cpud -- go build -o $(pwd)

goanywhere ./u-root/cmds/core/\* ./cpu/cmds/cpud -./u-root/cmds/core/ip -- makebb -o $(pwd)

GBB_PATHS=$HOME/u-root:$HOME/cpu goanywhere cmds/core/\* cmds/cpud -cmds/core/ip -- makebb -o $(pwd)

Copy link

codecov bot commented Feb 25, 2024

Codecov Report

Attention: Patch coverage is 85.98131% with 15 lines in your changes are missing coverage. Please review.

Project coverage is 62.44%. Comparing base (af2844f) to head (265ea87).

Files Patch % Lines
src/cmd/goanywhere/main.go 82.05% 14 Missing ⚠️
src/pkg/bb/findpkg/bb.go 96.55% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #114      +/-   ##
==========================================
+ Coverage   59.18%   62.44%   +3.26%     
==========================================
  Files          15       16       +1     
  Lines        1078     1185     +107     
==========================================
+ Hits          638      740     +102     
- Misses        440      445       +5     
Flag Coverage Δ
1.20 84.22% <85.98%> (+1.67%) ⬆️
1.21.x 84.22% <85.98%> (+1.67%) ⬆️
1.22.x 62.44% <85.98%> (+3.26%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hugelgupf hugelgupf force-pushed the goanywhere branch 2 times, most recently from 2e6b4f8 to 66926b2 Compare February 25, 2024 22:25
@hugelgupf hugelgupf changed the title Goanywhere command -- create a Go workspace on the fly goanywhere command -- create a Go workspace on the fly Feb 25, 2024
@hugelgupf hugelgupf force-pushed the goanywhere branch 5 times, most recently from 96e1a93 to 84b4e51 Compare February 26, 2024 02:01
Signed-off-by: Chris Koch <[email protected]>
@hugelgupf hugelgupf merged commit 0711592 into main Feb 26, 2024
22 checks passed
@hugelgupf hugelgupf deleted the goanywhere branch February 26, 2024 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant