Skip to content

Commit

Permalink
Compiling for macOS (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarampampam authored Jan 16, 2020
1 parent 1616f71 commit 8beb30d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [linux, windows]
os: [linux, windows, darwin]
needs: [gofmt, test]
steps:
- name: Set up Go
Expand All @@ -78,7 +78,7 @@ jobs:
run: go build -ldflags '-s -w' -o /tmp/tinifier .

- name: Try to execute
if: matrix.os != 'windows'
if: matrix.os == 'linux'
run: /tmp/tinifier -V && /tmp/tinifier -h

image:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [linux, windows]
os: [linux, windows, darwin]
arch: [amd64, 386]
include:
- os: windows
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver].

## v1.0.2

### Added

- MacOS build

## v1.0.1

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
)

const VERSION = "1.0.1" // Do not forget update this value before new version releasing
const VERSION = "1.0.2" // Do not forget update this value before new version releasing

func main() {
cError := container.Invoke(func(logger ILogger, targets ITargets, col IAnsiColors) {
Expand Down

0 comments on commit 8beb30d

Please sign in to comment.