Skip to content

Commit

Permalink
build: fix yaml and non-posix build
Browse files Browse the repository at this point in the history
  • Loading branch information
reddec committed Mar 19, 2021
1 parent 7703647 commit c68a0b8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ builds:
flags:
- -trimpath
nfpms:
- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
- file_name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
replacements:
Linux: linux
386: i386
Expand Down
12 changes: 12 additions & 0 deletions cmd/tinc-boot/run/main_default.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//+build !linux

package run

import "fmt"

type Cmd struct {
}

func (cmd Cmd) Execute([]string) error {
return fmt.Errorf("not implemented on the platform. Only Linux supported")
}
File renamed without changes.

0 comments on commit c68a0b8

Please sign in to comment.