webui-dev / webui

Use any web browser or WebView as GUI, with your preferred language in the backend and modern web technologies in the frontend, all in a lightweight portable library.
https://webui.me
MIT License
2.96k stars 172 forks source link

Optimizing the build process #287

Closed jinzhongjia closed 9 months ago

jinzhongjia commented 9 months ago

Optimizing the build process, we can now use zig to build all C examples

Like this:

❯ zig build --help

Usage: /usr/lib/zig/zig build [steps] [options]

Steps:
  install (default)            Copy build artifacts to prefix path
  uninstall                    Remove build artifacts from prefix path
  build_all                    build all examples
  run_call_js_from_c           run exmaple call_js_from_c
  run_public_network_access    run exmaple public_network_access
  run_call_c_from_js           run exmaple call_c_from_js
  run_text-editor              run exmaple text-editor
  run_custom_web_server        run exmaple custom_web_server
  run_serve_a_folder           run exmaple serve_a_folder
  run_minimal                  run exmaple minimal