0.37.0 (71): one engine, one version for Android and iOS
- Three source trees: core/ (shared C++ engine, moved from ios/core), app/ (Android UI), ios/app/ (iOS UI) - Android plays through core/ via JNI (EngineHost, jni_engine.cpp): the Oboe callback renders natively; the Kotlin model is mirrored as project text and applied as a diff, so playback continues through edits - The Kotlin engine moves to the unit tests as ReferenceEngine (golden reference) - Shared MasterRecorder in core/src/host, used by both apps; host_test - versions.properties: one versionName/versionCode for both platforms, continuing Android's numbering (iOS 0.6.0/11 -> 0.37.0/71) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
64e21e0bcc
commit
2bc5cb1cbb
@@ -22,8 +22,8 @@ ADB := adb
|
||||
|
||||
VERSIONS := versions.properties
|
||||
APP_ID := $(shell sed -n 's/^[[:space:]]*namespace[[:space:]]*=[[:space:]]*"\(.*\)".*/\1/p' app/build.gradle.kts)
|
||||
VERSION_NAME := $(shell sed -n 's/^android.versionName[[:space:]]*=[[:space:]]*//p' $(VERSIONS) | tr -d ' ')
|
||||
VERSION_CODE := $(shell sed -n 's/^android.versionCode[[:space:]]*=[[:space:]]*//p' $(VERSIONS) | tr -d ' ')
|
||||
VERSION_NAME := $(shell sed -n 's/^versionName[[:space:]]*=[[:space:]]*//p' $(VERSIONS) | tr -d ' ')
|
||||
VERSION_CODE := $(shell sed -n 's/^versionCode[[:space:]]*=[[:space:]]*//p' $(VERSIONS) | tr -d ' ')
|
||||
|
||||
# Publishing to the private F-Droid repo (CLAUDE.md). Both halves of a release
|
||||
# — the artifact and its metadata — live under the same host.
|
||||
@@ -163,15 +163,15 @@ bump-patch: ; @$(MAKE) --no-print-directory bump FIELD=3
|
||||
|
||||
bump:
|
||||
@awk -v field=$(FIELD) ' \
|
||||
/^android.versionName/ { \
|
||||
/^versionName/ { \
|
||||
split($$3, v, "."); \
|
||||
v[field]++; \
|
||||
for (i = field + 1; i <= 3; i++) v[i] = 0; \
|
||||
printf "android.versionName = %d.%d.%d\n", v[1], v[2], v[3]; next } \
|
||||
/^android.versionCode/ { printf "android.versionCode = %d\n", $$3 + 1; next } \
|
||||
printf "versionName = %d.%d.%d\n", v[1], v[2], v[3]; next } \
|
||||
/^versionCode/ { printf "versionCode = %d\n", $$3 + 1; next } \
|
||||
{ print }' $(VERSIONS) > $(VERSIONS).tmp
|
||||
@mv $(VERSIONS).tmp $(VERSIONS)
|
||||
@sed -n 's/^android\./ android./p' $(VERSIONS)
|
||||
@grep -E '^version(Name|Code)' $(VERSIONS) | sed 's/^/ /'
|
||||
|
||||
# ------------------------------------------------------------------ clean
|
||||
clean:
|
||||
|
||||
Reference in New Issue
Block a user