You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+24-32Lines changed: 24 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -1,55 +1,47 @@
1
1
# We're going to be using this Makefile as a sort of task runner, for all sorts of operations in this project
2
2
3
3
# first we'll grab the current version from our ENV VAR (added by our CI) - see here: https://github.com/marketplace/actions/version-increment
4
+
BINARY_NAME := otdfctl
4
5
CURR_VERSION := ${SEM_VER}
6
+
COMMIT_SHA := ${GITHUB_SHA}
7
+
BUILD_TIME := $(shell date -u '+%Y-%m-%dT%H:%M:%SZ')
# Default target executed when no arguments are given to make.
7
27
# NOTE: .PHONY is used to indicate that the target is not a file (e.g. there is no file called 'build-darwin-amd64', instead the .PHONY directive tells make that the proceeding target is a command to be executed, not a file to be generated)
8
28
.PHONY: all
9
29
all: run
10
30
.DEFAULT_GOAL := run
11
31
12
-
13
-
14
-
15
-
# Binary name: Change this to your actual binary name
16
-
BINARY_NAME=${BIN_NAME}
17
-
18
-
19
32
# Target directory for compiled binaries
20
33
TARGET_DIR=target
21
34
22
35
# Output directory for the zipped artifacts
23
36
OUTPUT_DIR=output
24
37
25
-
# Targets for building the project for different platforms
0 commit comments