-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from bgilbert/go
Drop Go 1.15 and 1.16, add Go 1.19, fix tests, drop vendor directory
- Loading branch information
Showing
48 changed files
with
43 additions
and
18,454 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,18 @@ | ||
PKGS := arch release stream stream/rhcos release/rhcos fedoracoreos | ||
|
||
build: | ||
for pkg in $(PKGS); do (cd $$pkg && go build -mod=vendor); done | ||
BUILD_PKGS = $(foreach pkg,$(PKGS),build-$(pkg)) | ||
TEST_PKGS = $(foreach pkg,$(PKGS),test-$(pkg)) | ||
|
||
build: $(BUILD_PKGS) | ||
.PHONY: build | ||
|
||
test: | ||
for pkg in $(PKGS); do (cd $$pkg && go test); done | ||
$(BUILD_PKGS): build-%: | ||
cd $* && go build | ||
.PHONY: $(BUILD_PKGS) | ||
|
||
test: $(TEST_PKGS) | ||
.PHONY: test | ||
|
||
$(TEST_PKGS): test-%: | ||
cd $* && go test | ||
.PHONY: $(TEST_PKGS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
module github.com/coreos/stream-metadata-go | ||
|
||
go 1.15 | ||
go 1.17 | ||
|
||
require github.com/stretchr/testify v1.6.1 | ||
|
||
require ( | ||
github.com/davecgh/go-spew v1.1.0 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.