Rebrand Curare to Bennu under com.machankura.bennu
Move the packages to com.machankura.bennu.{compose,android,desktop}, the
Android applicationId to com.machankura.bennu.android and the iOS bundle
id to com.machankura.bennu.ios. The root project, launcher label, iOS
product, desktop window, user-facing strings, client tags and the
Curare* classes all say Bennu now.
Left alone on purpose: the mantra/ derivation tags, the `curated` desktop
data directory, the mantra.press relay and the curare.to references.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
dddfa68b38
commit
b75d4b427f
975 files changed
+7642
-7641
No files matched your search
@@ -17,7 +17,7 @@ Usage:
|
||||
"""
|
||||
import os, re, sys, io, collections
|
||||
|
||||
UI = 'composeApp/src/commonMain/kotlin/to/curare/compose/ui'
|
||||
UI = 'composeApp/src/commonMain/kotlin/com/machankura/bennu/compose/ui'
|
||||
STRINGS = 'composeApp/src/commonMain/composeResources/values/strings.xml'
|
||||
DRY = '--apply' not in sys.argv
|
||||
|
||||
@@ -243,7 +243,7 @@ def main():
|
||||
for start, end, value in reversed(found):
|
||||
src = src[:start] + f'stringResource(Res.string.{names[value]})' + src[end:]
|
||||
if changed:
|
||||
for imp in ('import curare.composeapp.generated.resources.Res',
|
||||
for imp in ('import bennu.composeapp.generated.resources.Res',
|
||||
'import org.jetbrains.compose.resources.stringResource'):
|
||||
if not has_import(src, imp):
|
||||
lines = src.split('\n')
|
||||
@@ -256,7 +256,7 @@ def main():
|
||||
lines = src.split('\n')
|
||||
idx = max(i for i, l in enumerate(lines) if l.startswith('import '))
|
||||
for nm in reversed(need):
|
||||
imp = f'import curare.composeapp.generated.resources.{nm}'
|
||||
imp = f'import bennu.composeapp.generated.resources.{nm}'
|
||||
if not has_import(src, imp):
|
||||
lines.insert(idx + 1, imp)
|
||||
src = '\n'.join(lines)
|
||||
|
||||
Reference in new issue
Block a user