Skip to content

Commit 0e476eb

Browse files
Version 1.0.0
1 parent 39ba16a commit 0e476eb

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.vscode/
22
build/
3+
dist
34

45
*.ovl
56
*.elf

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
export GITHASH := $(shell git rev-parse --short HEAD)
2+
export VERSION := 1.0.0
3+
14
all: applet overlay
25

36
applet:
@@ -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

Makefile.applet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ include $(DEVKITPRO)/libnx/switch_rules
3939
#---------------------------------------------------------------------------------
4040
APP_TITLE := Studious Pancake
4141
APP_AUTHOR := HookedBehemoth
42-
APP_VERSION := 0.4.1
42+
APP_VERSION := $(VERSION)
4343

4444
TARGET := applet/$(notdir $(CURDIR))
4545
BUILD := build.nro

Makefile.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ include $(DEVKITPRO)/libnx/switch_rules
3939
#---------------------------------------------------------------------------------
4040
APP_TITLE := Studious Pancake
4141
APP_AUTHOR := HookedBehemoth
42-
APP_VERSION := 0.4.1
42+
APP_VERSION := $(VERSION)
4343

4444
TARGET := overlay/$(notdir $(CURDIR))
4545
BUILD := build.ovl

0 commit comments

Comments
 (0)