Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace cargo-swift with equivalent script #15

Merged
merged 7 commits into from
Jan 30, 2024
Merged

Replace cargo-swift with equivalent script #15

merged 7 commits into from
Jan 30, 2024

Conversation

bisgardo
Copy link
Contributor

@bisgardo bisgardo commented Jan 29, 2024

Building the framework with a shell script will (hopefully) make it clearer what's actually going on.

Going forward it will also give us more control over the exact procedure like for instance whether to build universal binaries or support arm64 only. For example it's only necessary to build a single target on the CI when running unit tests (for now we build for all platforms on the CI).

Last but not least it will allow us to remove a dependency that we don't actually need.

The intent is to have both targets of the package `./lib/crypto/ConcordiumWalletCrypto` generated using SPM build plugins. I suppose this amounts to reimplementing `build.sh` in Swift or just calling the script from Swift.
Copy link
Contributor

@rh-concordium rh-concordium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good ✔️

@bisgardo bisgardo merged commit b5966e0 into main Jan 30, 2024
1 check passed
@bisgardo bisgardo deleted the mo/rust-build branch January 30, 2024 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants