Skip to content

Commit

Permalink
drop vendoring
Browse files Browse the repository at this point in the history
  • Loading branch information
CAFxX committed May 10, 2023
1 parent ab7b565 commit 0009eb3
Show file tree
Hide file tree
Showing 336 changed files with 2 additions and 193,202 deletions.
11 changes: 2 additions & 9 deletions main.go
Expand Up @@ -85,14 +85,7 @@ func main() {
defer os.RemoveAll(tmpdir)

err = fs.WalkDir(launcherSource, ".", func(path string, d fs.DirEntry, err error) error {
var dpath string
if a, ok := strings.CutSuffix(path, ".go.mod"); ok {
dpath = a + "go.mod"
} else if a, ok := strings.CutSuffix(path, ".go.sum"); ok {
dpath = a + "go.sum"
} else {
dpath = filepath.Join(tmpdir, path)
}
dpath := filepath.Join(tmpdir, path)
switch {
case err != nil:
return err
Expand Down Expand Up @@ -146,5 +139,5 @@ func main() {
}
}

//go:embed go.mod go.sum launcher vendor
//go:embed go.mod go.sum launcher
var launcherSource embed.FS
24 changes: 0 additions & 24 deletions vendor/github.com/klauspost/cpuid/v2/.gitignore

This file was deleted.

74 changes: 0 additions & 74 deletions vendor/github.com/klauspost/cpuid/v2/.goreleaser.yml

This file was deleted.

35 changes: 0 additions & 35 deletions vendor/github.com/klauspost/cpuid/v2/CONTRIBUTING.txt

This file was deleted.

22 changes: 0 additions & 22 deletions vendor/github.com/klauspost/cpuid/v2/LICENSE

This file was deleted.

0 comments on commit 0009eb3

Please sign in to comment.