Commit Graph
56 Commits
Author SHA1 Message Date
Hampus Lidin 011116b83d Fix panic when using dev profile (#1824) 2024-01-13 13:07:38 -06:00
Evan Almloff e004c1722f set the required environment variable for manganis support 2024-01-10 11:19:51 -06:00
Evan Almloff 2cc6f2f51f fix merge and reorganize the CLI a bit 2024-01-08 13:39:12 -06:00
Evan Almloff 23509ada9f Merge branch 'master' into cli-config-library 2024-01-08 13:24:16 -06:00
Evan Almloff b1de7d850c Merge branch 'master' into intigrate-collect-assets 2024-01-04 18:44:29 -06:00
Bennett-PetzoldandEvan Almloff 80a8e1f512 Add Cargo Arguments and Cross-Architecture Support (#1777)
* Add passthrough to cargo build

* Add platform_triple flag

* Add handling to bundle and serve commands

* Show full stacked error from Tauri in bundling

Previously only the top-level error was shown, giving only vague data
for debugging the build process

* Adjust bundle platform triple when cross compiling

* Rename --platform-triple to --target

* restore some deleted docs on CLI commands

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2024-01-02 15:19:29 -06:00
Evan Almloff 0914298bea Merge branch 'intigrate-collect-assets' of https://github.com/Demonthos/dioxus into intigrate-collect-assets 2023-12-21 18:05:02 -06:00
Evan Almloff 8b125231f0 make backend and frontend builds happen in parallel 2023-12-21 18:04:35 -06:00
ealmloff 2853b16cd6 Merge branch 'DioxusLabs:master' into intigrate-collect-assets 2023-12-21 14:00:35 -06:00
xfalcon 0cb13942da fix: command error with dx build --verbose (#1715)
error msg: cannot set both --verbose and --quiet
2023-12-13 08:30:40 -06:00
Evan Almloff 66e2c02bf7 Merge branch 'master' into intigrate-collect-assets 2023-12-08 08:49:17 -06:00
Exotik850 fc31876a57 Wasm target check before build (#1689)
* Add `rustup show` check for wasm32 target

* better place for check

* fmt

* clippy fmt
2023-12-07 12:35:16 -06:00
Jonathan Kelley ea15c6a2eb Merge branch 'master' into cli-config-library 2023-12-06 21:30:14 -08:00
Raul Cesar TeixeiraandRaul Cesar 8149868ebc Fixed conflict of "--verbose" and "--quiet" flags (#1686)
Co-authored-by: Raul Cesar <raul@zideco.dev>
2023-12-04 18:11:02 -06:00
Evan Almloff 532ffaa614 fix merge 2023-11-20 18:36:18 -06:00
Evan Almloff 557630c419 Merge branch 'master' into cli-config-library 2023-11-20 18:35:24 -06:00
HJin.me ff6c7efb41 fix: tailwind.css use absolute path (#1649) 2023-11-19 11:22:54 -06:00
Evan Almloff 1ed66a54cc fix cli configuration environment variable 2023-11-14 15:50:04 -06:00
Evan Almloff 06be18a591 export lazy current config 2023-11-14 15:34:06 -06:00
Evan Almloff 5dc3486c53 Merge branch 'cli-serde-default' into cli-config-library 2023-11-10 16:26:58 -06:00
ealmloff 79e3fe677f Merge branch 'master' into cli-serde-default 2023-11-10 16:22:53 -06:00
Evan Almloff 8a2d170d96 pull out the CLI config data into a separate library 2023-11-08 12:48:25 -06:00
Falco Hirschenberger d4e6876ff6 Silence desktop build outputs from cargo (#1584)
Silence additional disturbing output from cargo in desktop builds
2023-10-27 08:29:43 -05:00
Evan Almloff 9d19f4d204 fix clippy 2023-10-16 10:44:08 -05:00
Evan Almloff 9f729dd6de fix clippy 2023-10-14 14:32:08 -05:00
ealmloff a7736284c8 Merge branch 'master' into intigrate-collect-assets 2023-10-12 08:46:27 -05:00
Evan Almloff b76f129083 Merge branch 'master' into intigrate-collect-assets 2023-10-10 09:57:16 -05:00
Marc Espín c8c4e85e65 feat: Remove unused deps (#1447)
* feat: Reduce dioxus-cli deps

* remove more unused deps
2023-10-09 10:14:46 -05:00
Sridhar Ratnakumar 91752e7220 cli: Fix typo, resouces (#1516) 2023-10-04 08:20:13 -05:00
Evan Almloff 070ef6aec9 Merge branch 'master' into cli-serde-default 2023-09-17 19:00:13 -05:00
ealmloff d5d974d5a3 Bump the dioxus-cli to 0.4.1 (#1424)
* bump the dioxus-cli version

* bump DIOXUS_CLI_VERSION constant

* Merge branch 'master' into bump-cli
2023-09-04 15:10:27 -05:00
Evan Almloff 148b35a87a fix clippy 2023-09-04 08:42:30 -05:00
Evan Almloff 282e098086 Merge branch 'master' into intigrate-collect-assets 2023-09-04 08:42:14 -05:00
YuKun LiuandEvan Almloff 2cfa0e4ea9 fix: prettier_build unavailabe (#1410)
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2023-09-02 18:31:34 -05:00
Evan Almloff e162e3e4cf fix formatting 2023-08-21 16:07:49 -05:00
Evan Almloff 99268acc05 add an option to skip assets in the CLI 2023-08-21 16:05:25 -05:00
Evan Almloff 5eca11fe3d update collect assets name 2023-08-18 14:54:57 -05:00
Evan Almloff 4ee2bc259d fix clippy 2023-08-18 14:45:03 -05:00
Evan Almloff 1c58352456 implement fullstack assets integration 2023-08-18 14:30:23 -05:00
Evan Almloff 9bfe9682b5 integrate with the bundle command 2023-08-18 10:27:38 -05:00
Evan Almloff 213b80790b fix release desktop builds 2023-08-18 09:55:49 -05:00
Evan Almloff 62f8e0f727 fix fullstack assets 2023-08-17 09:56:59 -05:00
Evan Almloff 77d11f6d9a Fix the asset config in the CLI 2023-08-16 17:24:30 -05:00
Evan Almloff c402b6cd36 collect assets in desktop debug mode 2023-08-16 17:01:51 -05:00
Evan Almloff 8d3c11ef15 inject included styles and preload images into the head 2023-08-16 16:16:34 -05:00
Steven Pecht 1ab5a03aef Use to identify cargo build artifact if present (#1344) 2023-08-12 19:25:17 -05:00
Evan Almloff 8b4e0b3e07 Use serde default instead of options in the CLI 2023-08-08 15:33:48 -07:00
Brian Donovan a025617db3 refactor(cli): use more semantic Instant::elapsed (#1307)
Plus, one of these was incorrectly subtracting the end time from the start time.
2023-08-07 11:08:51 -05:00
Jonathan Kelley 9185afdba8 Merge branch 'master' into desktop-serve-cli 2023-07-19 13:33:02 -07:00
Evan Almloff 4a0869de7b cargo fix 2023-07-18 12:41:48 -07:00