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

Support packaging on Windows via a Rust program that implements before-packaging commands #179

Merged
merged 19 commits into from
Jul 30, 2024

Conversation

kevinaboos
Copy link
Contributor

@kevinaboos kevinaboos commented Jul 25, 2024

  • Supports both before-packaging-command and before-each-package-command
  • Updates CI to build the before-packaging-command Rust program
  • Updates CI to not build in release mode

Note: nothing is tested yet

All three platforms tested and working. Release candidate packages are available here: https://drive.google.com/drive/folders/165o98vJU_VCB8uVc_B2fD6uGzJtJx4v7?usp=drive_link

* Supports both `before-packaging-command` and `before-each-package-command`

Note: nothing is tested yet
@kevinaboos kevinaboos marked this pull request as draft July 25, 2024 22:04
installation of WasmEdge or special cases for packaging of WasmEdge
into the .exe or .msi.

--> still need to re-test macOS and Linux
Includes auto-installation of WasmEdge if it cannot be found;
installation is performed via a PowerShell script that follows
the Windows WasmEdge installation instructions in the README
(downloading WasmEdge files from the GitHub releases page).
The main binary needs the location of the main `wasmedge.dll`
to be on the system PATH, otherwise it fails to load.

Still having some trouble with MAKEPAD_PACKAGE_DIR, that is,
Makepad cannot properly find the resources bundled with the app.
Cleanup verbose output in moxin-runner
@kevinaboos
Copy link
Contributor Author

ok this now works on Windows, but I haven't tested the merged logic that was reimplemented for macOS and Linux.

So, still not ready to merge in.

@kevinaboos kevinaboos mentioned this pull request Jul 26, 2024
@kevinaboos kevinaboos changed the title [WIP] Add a Rust program that implements cargo packager commands Support packaging on Windows via a Rust program that implements before-packaging commands Jul 27, 2024
@kevinaboos kevinaboos marked this pull request as ready for review July 27, 2024 00:12
@kevinaboos kevinaboos requested a review from jmbejar July 27, 2024 00:12
@kevinaboos
Copy link
Contributor Author

everything ready to go!

these are no longer used and were replaced by the
`before-packaging-command` rust program
@jmbejar jmbejar changed the base branch from main to dev July 30, 2024 14:23
@jmbejar jmbejar merged commit 1ee7773 into moxin-org:dev Jul 30, 2024
15 checks passed
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