Skip to content

Commit

Permalink
Makefile: fix build path.
Browse files Browse the repository at this point in the history
  • Loading branch information
AnessZurba committed May 3, 2024
1 parent 81343ed commit fabde4c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,18 @@ EXECUTABLE_NAME = locheck
REPO = https://github.com/Asana/locheck
VERSION = 0.9.11

UNAME_S := $(shell uname -s)

ifeq ($(UNAME_S), Darwin)
BUILD_PATH_PREFIX := .build/apple/Products/Release
endif
ifeq ($(UNAME_S), Darwin)
BUILD_PATH_PREFIX := .build/release
endif

PREFIX = /usr/local
INSTALL_PATH = $(PREFIX)/bin/$(EXECUTABLE_NAME)
BUILD_PATH = .build/release/$(EXECUTABLE_NAME)
BUILD_PATH = $(BUILD_PATH_PREFIX)/$(EXECUTABLE_NAME)
CURRENT_PATH = $(PWD)
RELEASE_TAR = $(REPO)/archive/$(VERSION).tar.gz
GIT_STATUS := $(shell git status -s)
Expand Down

0 comments on commit fabde4c

Please sign in to comment.