File tree Expand file tree Collapse file tree 4 files changed +12
-2
lines changed
Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 11.vscode /
22build /
3+ dist
34
45* .ovl
56* .elf
Original file line number Diff line number Diff line change 1+ export GITHASH := $(shell git rev-parse --short HEAD)
2+ export VERSION := 1.0.0
3+
14all : applet overlay
25
36applet :
@@ -10,4 +13,10 @@ clean:
1013 $(MAKE ) -f Makefile.applet clean
1114 $(MAKE ) -f Makefile.overlay clean
1215
16+ dist : all
17+ mkdir -p dist/switch/.overlays
18+ cp overlay/studious-pancake.ovl dist/switch/.overlays/
19+ cp applet/studious-pancake.nro dist/switch/
20+ cd dist; zip -r sys-tune-$(VERSION ) -$(GITHASH ) .zip ./** /; cd ../;
21+
1322.PHONY : all applet overlay
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ include $(DEVKITPRO)/libnx/switch_rules
3939#---------------------------------------------------------------------------------
4040APP_TITLE := Studious Pancake
4141APP_AUTHOR := HookedBehemoth
42- APP_VERSION := 0.4.1
42+ APP_VERSION := $(VERSION)
4343
4444TARGET := applet/$(notdir $(CURDIR))
4545BUILD := build.nro
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ include $(DEVKITPRO)/libnx/switch_rules
3939#---------------------------------------------------------------------------------
4040APP_TITLE := Studious Pancake
4141APP_AUTHOR := HookedBehemoth
42- APP_VERSION := 0.4.1
42+ APP_VERSION := $(VERSION)
4343
4444TARGET := overlay/$(notdir $(CURDIR))
4545BUILD := build.ovl
You can’t perform that action at this time.
0 commit comments