-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
22 lines (19 loc) · 819 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.PHONY: run
run:
go run .
.PHONY: build
build:
7z a assets/resources.7z resources/*
# build launcher
C:\Users\xyz\sdk\go1.22.2\bin\go.exe build -ldflags -H=windowsgui -o resources/launcher.exe ./cmd/launcher
# build uninstall
C:\Users\xyz\sdk\go1.22.2\bin\go.exe build -o resources/uninstall.exe ./cmd/uninstall
# pack resources
C:\Users\xyz\sdk\go1.22.2\bin\go.exe build -ldflags -H=windowsgui -o dist/grafana-labs-installer.exe ./cmd/installer
.PHONY: build-uninstall
build-uninstall:
C:\Users\xyz\sdk\go1.22.2\bin\go.exe build -o resources/uninstall.exe ./cmd/uninstall
.PHONY: build-launcher
build-launcher:
C:\Users\xyz\sdk\go1.22.2\bin\go.exe build -ldflags -H=windowsgui -o resources/launcher.exe ./cmd/launcher
# C:\Users\xyz\sdk\go1.22.2\bin\go.exe build -o resources/launcher.exe ./cmd/launcher