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

Improve ultibi_server build process #127

Open
AnatolyBuga opened this issue Mar 20, 2023 · 0 comments
Open

Improve ultibi_server build process #127

AnatolyBuga opened this issue Mar 20, 2023 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@AnatolyBuga
Copy link
Member

AnatolyBuga commented Mar 20, 2023

Currently to call .ui() in rust one needs to build ultibi_server which requires

  1. npm run build frontend
  2. Set env variable STATIC_FILES_DIR
  3. And only then build rust lib

This could (in theory) be performed from build.rs like this:

  1. Git checkout ultima/frontend
  2. npm run build
  3. call to resource_dir with dist forlder as an arg
@AnatolyBuga AnatolyBuga added the help wanted Extra attention is needed label Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant