-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
27 lines (23 loc) · 805 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.PHONY: build build-mewn debug
build-mewn:
@go build -o build/mewn cmd/mewn/main.go
build-dmg:
create-dmg ./build/Production/Notorious.app
build:
@rm -Rf ./build/Production/Notorious.app/
@mkdir -p ./build/Production/Notorious.app/Contents/MacOS
@mkdir -p ./build/Production/Notorious.app/Contents/Resources
@cp ./assets/appicon.icns ./build/Production/Notorious.app/Contents/Resources/
@cp ./meta/Info.plist ./build/Production/Notorious.app/Contents/
@echo "Building GUI"
@cd ./ui && yarn build
@echo "Building go-application"
@mewn build -o build/Production/Notorious.app/Contents/MacOS/Notorious
@echo "Completed."
debug:
@rm -Rf ./build/Debug
@echo "Building GUI"
@cd ./ui && yarn build
@echo "Building go-application"
@mewn build -o build/Debug/Notorious
./build/Debug/Notorious