-
-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change pbxproj to latest, disable packager
- Loading branch information
Mihai Blaga
committed
Sep 11, 2023
1 parent
fd35dff
commit 73ffbf7
Showing
3 changed files
with
36 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,66 @@ | ||
|
||
|
||
|
||
LOAD FILES TO MEMORY (MIGHT TAKE SEVERAL ROUNDS?) | ||
|
||
generate abstract runtime definitions | ||
generate all injections | ||
|
||
CREATE ABSTRACT CONTEXT INFO | ||
|
||
|
||
GENERATE / COPY NEW FILES | ||
|
||
copy over template files (.tpl files to be injected ) | ||
|
||
|
||
|
||
rnv | ||
|
||
|
||
@rnv/cli | ||
@rnv/core | ||
@rnv/sdk-tizen | ||
@rnv/sdk-webos | ||
@rnv/sdk-apple | ||
|
||
|
||
|
||
import { executeRnv } from '@rnv/core' | ||
|
||
await executeRnv({ | ||
commandAsString: 'rnv run -p ios', | ||
commandAsObject: { | ||
command: 'run', | ||
}, | ||
cwd: '', | ||
errorHandler: async ({}) => { | ||
return true; | ||
}, | ||
inputHandler: async ({}) => { | ||
await executeRnv({ | ||
commandAsString: 'rnv run -p ios', | ||
commandAsObject: { | ||
command: 'run', | ||
}, | ||
cwd: '', | ||
errorHandler: async ({}) => { | ||
return true; | ||
}, | ||
inputHandler: async ({}) => { | ||
|
||
}, | ||
logger: ({}) => { | ||
|
||
} | ||
}); | ||
|
||
} | ||
|
||
- make build hooks typescript (with autocomplete) | ||
- split rnv into cli & core | ||
- move sdkManger to separate sdk packages | ||
- rethink templateFile injection system | ||
- renative.json: engines.engine-rn.platforms.ios.template.ignoreFiles: [] | ||
- merge engine-rn + tvos + macos???? | ||
}); | ||
|
||
- make build hooks typescript (with autocomplete) | ||
- split rnv into cli & core | ||
- move sdkManger to separate sdk packages | ||
- rethink templateFile injection system | ||
- renative.json: engines.engine-rn.platforms.ios.template.ignoreFiles: [] | ||
- merge engine-rn + tvos + macos???? | ||
|
||
templateFiles: { | ||
'ios/Info.plist': { | ||
isTemplate: source.endsWith('.tpl'), | ||
source: 'ios/Info.plist.tpl', | ||
dest: 'ios/Info.plist', | ||
injections: { | ||
'{{NAME}}': 'myApp' | ||
} | ||
}, | ||
'ios/image.png': { | ||
source: 'ios/image.png', | ||
dest: 'ios/image.png' | ||
} | ||
'ios/Info.plist': { | ||
isTemplate: source.endsWith('.tpl'), | ||
source: 'ios/Info.plist.tpl', | ||
dest: 'ios/Info.plist', | ||
injections: { | ||
'{{NAME}}': 'myApp' | ||
} | ||
}, | ||
'ios/image.png': { | ||
source: 'ios/image.png', | ||
dest: 'ios/image.png' | ||
} | ||
} | ||
|
||
|
||
if isTemplate = true && injections = undefined => use global injections | ||
if isTemplate = true && injections = {...} => use local injections | ||
if isTemplate = true && injections = {...} => use local injections | ||
|
||
reading config files 17 times in the first half of an rnv run :D | ||
a plugin that was removed from renative.json still has it's orchestra-plugins/builds and renative.plugins.json overrides applied |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters