Skip to content

Commit

Permalink
Update internal/commands/buildpack_new.go
Browse files Browse the repository at this point in the history
Co-authored-by: Aidan Delaney <[email protected]>
Signed-off-by: Robert Gogolok <[email protected]>
  • Loading branch information
gogolok and AidanDelaney authored Dec 4, 2024
1 parent 2efd635 commit 2eff764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/commands/buildpack_new.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func BuildpackNew(logger logging.Logger, creator BuildpackCreator) *cobra.Comman
cmd.Flags().StringSliceVarP(&flags.Stacks, "stacks", "s", nil, "Stack(s) this buildpack will be compatible with"+stringSliceHelp("stack"))
cmd.Flags().MarkDeprecated("stacks", "prefer `--targets` instead: https://github.com/buildpacks/rfcs/blob/main/text/0096-remove-stacks-mixins.md")
cmd.Flags().StringSliceVarP(&flags.Targets, "targets", "t", nil,
`Targets are the platforms that one targets. These are generated as part of scaffolding inside buildpack.toml file. One can provide target platforms in format [os][/arch][/variant]:[distroname@osversion@anotherversion];[distroname@osversion]
`Targets are of the form 'os/arch/variant', for example 'linux/amd64' or 'linux/arm64/v9'. The full format for targets follows the form [os][/arch][/variant]:[distroname@osversion@anotherversion];[distroname@osversion]`

Check failure on line 107 in internal/commands/buildpack_new.go

View workflow job for this annotation

GitHub Actions / test (linux)

missing ',' before newline in argument list

Check failure on line 107 in internal/commands/buildpack_new.go

View workflow job for this annotation

GitHub Actions / test (macos)

missing ',' before newline in argument list

Check failure on line 107 in internal/commands/buildpack_new.go

View workflow job for this annotation

GitHub Actions / test (windows-wcow)

missing ',' before newline in argument list
- Base case for two different architectures : '--targets "linux/amd64" --targets "linux/arm64"'

Check failure on line 108 in internal/commands/buildpack_new.go

View workflow job for this annotation

GitHub Actions / test (linux)

missing ',' in argument list

Check failure on line 108 in internal/commands/buildpack_new.go

View workflow job for this annotation

GitHub Actions / test (linux)

illegal rune literal

Check failure on line 108 in internal/commands/buildpack_new.go

View workflow job for this annotation

GitHub Actions / test (macos)

missing ',' in argument list

Check failure on line 108 in internal/commands/buildpack_new.go

View workflow job for this annotation

GitHub Actions / test (macos)

illegal rune literal

Check failure on line 108 in internal/commands/buildpack_new.go

View workflow job for this annotation

GitHub Actions / test (windows-wcow)

missing ',' in argument list

Check failure on line 108 in internal/commands/buildpack_new.go

View workflow job for this annotation

GitHub Actions / test (windows-wcow)

illegal rune literal
- case for distribution version: '--targets "windows/amd64:[email protected]"'

Check failure on line 109 in internal/commands/buildpack_new.go

View workflow job for this annotation

GitHub Actions / test (linux)

expected operand, found 'case'

Check failure on line 109 in internal/commands/buildpack_new.go

View workflow job for this annotation

GitHub Actions / test (linux)

illegal rune literal

Check failure on line 109 in internal/commands/buildpack_new.go

View workflow job for this annotation

GitHub Actions / test (macos)

expected operand, found 'case'

Check failure on line 109 in internal/commands/buildpack_new.go

View workflow job for this annotation

GitHub Actions / test (macos)

illegal rune literal

Check failure on line 109 in internal/commands/buildpack_new.go

View workflow job for this annotation

GitHub Actions / test (windows-wcow)

expected operand, found 'case'

Check failure on line 109 in internal/commands/buildpack_new.go

View workflow job for this annotation

GitHub Actions / test (windows-wcow)

illegal rune literal
- case for different architecture with distributed versions : '--targets "linux/arm/v6:[email protected]" --targets "linux/arm/v6:[email protected]"'

Check failure on line 110 in internal/commands/buildpack_new.go

View workflow job for this annotation

GitHub Actions / test (linux)

missing ',' in argument list

Check failure on line 110 in internal/commands/buildpack_new.go

View workflow job for this annotation

GitHub Actions / test (linux)

illegal rune literal

Check failure on line 110 in internal/commands/buildpack_new.go

View workflow job for this annotation

GitHub Actions / test (macos)

missing ',' in argument list

Check failure on line 110 in internal/commands/buildpack_new.go

View workflow job for this annotation

GitHub Actions / test (macos)

illegal rune literal

Check failure on line 110 in internal/commands/buildpack_new.go

View workflow job for this annotation

GitHub Actions / test (windows-wcow)

missing ',' in argument list

Check failure on line 110 in internal/commands/buildpack_new.go

View workflow job for this annotation

GitHub Actions / test (windows-wcow)

illegal rune literal
Expand Down

0 comments on commit 2eff764

Please sign in to comment.