Skip to content

Commit

Permalink
Merge pull request #19 from tayusa/fix_build_for_mac
Browse files Browse the repository at this point in the history
Fix the build method for mac
  • Loading branch information
atsuya0 authored Jun 20, 2020
2 parents 811e13a + 8a60c4e commit 9ef047e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
.PHONY: build install install-for-mac format
.PHONY: build install format

build: format
@go build

install:
@go install

install-for-mac:
@go install -tags mac

format:
@goimports -w .
2 changes: 1 addition & 1 deletion cmd/ctime.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build !mac
// +build linux

package cmd

Expand Down
2 changes: 1 addition & 1 deletion cmd/ctimespec.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build mac
// +build darwin

package cmd

Expand Down

0 comments on commit 9ef047e

Please sign in to comment.