Skip to content

Commit

Permalink
making all executables executable
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Noga committed Jun 18, 2020
1 parent 2b35c1c commit feb216c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- name: zip
run: |
chmod a+x nightlight_* && zip --junk-paths nightlight.zip nightlight_* LICENSE README.md
zip --junk-paths nightlight.zip nightlight_* LICENSE README.md
- name: create release
id: create_release
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ cross-platform: $(TARGET)_linux_amd64 $(TARGET)_darwin_amd64 $(TARGET)_windows_a

$(TARGET)_%_amd64: $(SRCS)
GOOS=$* GOARCH=amd64 go build -o $@ -v ./cmd/$(TARGET)
chmod a+x $@

$(TARGET)_%_amd64.exe: $(SRCS)
GOOS=$* GOARCH=amd64 go build -o $@ -v ./cmd/$(TARGET)
chmod a+x $@

$(TARGET)_%_arm7: $(SRCS)
GOOS=$* GOARCH=arm GOARM=7 go build -o $@ -v ./cmd/$(TARGET)

chmod a+x $@

test:
go test -v ./cmd/$(TARGET) ./internal
Expand Down

0 comments on commit feb216c

Please sign in to comment.