Commit 68c2bfc
authored
chore(ci): update build scripts and replace deno scripts with node.js … (#25)
* refactor: update build scripts and replace deno scripts with node.js for metadata generation, add CI that actually works
- Changed the `metagen` script from Deno to Node.js in `package.json`.
- Added new build scripts for `libffi` and `metagen` in `package.json`.
- Updated CMakeLists to reflect the change from Deno to Node.js for metadata writing.
- Removed obsolete Deno scripts related to `build_libffi` and `metagen`.
- Deleted GitHub workflows for npm release and pull requests as part of the cleanup.
* chore: update package dependencies and CI configuration
- Removed the `prepare` script from `package.json`.
- Added a name to the CI workflow in `.github/workflows/ci.yml`.
- Updated `@nativescript/objc-node-api` dependency version to `^1.0.0-alpha.7` in both `packages/ios/package.json` and `packages/macos/package.json`.
* refactor: enhance build_libffi.js for improved environment handling and path management
- Refactored the script to use a helper function for path resolution, improving readability and maintainability.
- Updated environment variable handling to ensure consistent usage across commands.
- Added error handling for the configuration step to run autogen if necessary.
- Adjusted file copy operations to utilize the new path helper for better clarity.
* ci
* ci
* ci
* ci
* ci1 parent 1d54e67 commit 68c2bfc
File tree
18 files changed
+526
-685
lines changed- .github/workflows
- NativeScript
- libffi
- iphonesimulator-universal/include
- macosx-universal/include
- packages
- ios
- macos
- scripts
18 files changed
+526
-685
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
| 338 | + | |
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
1070 | 1070 | | |
1071 | 1071 | | |
1072 | 1072 | | |
1073 | | - | |
| 1073 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
1070 | 1070 | | |
1071 | 1071 | | |
1072 | 1072 | | |
1073 | | - | |
| 1073 | + | |
0 commit comments