Commit graph

205 commits

Author SHA1 Message Date
Evan Almloff
611f0d3b5f Merge branch 'maybe-sync-signal' into breaking 2024-01-16 13:49:53 -06:00
Evan Almloff
d44b0b34c8 Merge branch 'master' into breaking 2024-01-16 10:38:55 -06:00
hem1t
c6e1b0f728
init subcommand (#1840)
* `init` subcommand

* clippy
2024-01-16 10:25:07 -06:00
hem1t
1db8bd7edd
Minor fixes in cli (#1837)
* not using bin, until needed

also removes an unnecessary warning!

* removed redundant line

maybe, it was readability?

* using same `if let` pattern as below

* to `get_bin(args.bin)?` with `Ok(())` at last

* unreachable!
2024-01-16 07:21:01 -06:00
Evan Almloff
d17a04931b Merge branch 'master' into breaking 2024-01-15 12:01:09 -06:00
Jonathan Kelley
1dde044697
remove cx.render 2024-01-13 21:12:21 -08:00
Jonathan Kelley
fae0b08e61
Fix the router and stub out a number of crates to get compiling 2024-01-13 20:51:37 -08:00
Hampus Lidin
011116b83d
Fix panic when using dev profile (#1824) 2024-01-13 13:07:38 -06:00
Jonathan Kelley
f7bf156422
Merge pull request #1810 from DioxusLabs/jk/disambiguate-exprs-in-rsx
Disambiguate if expressions in rsx by requiring curlies, allow shorthand component/element initialization
2024-01-11 12:25:59 -08:00
Jonathan Kelley
3ef15577eb
Merge pull request #1807 from ealmloff/assets-optional
Only support manganis in the CLI
2024-01-11 12:18:24 -08:00
hem1t
8be9a7192b
using cargo.toml version (#1813)
- Replaced `CFG_RELEASE` with `CARGO_PKG_VERSION`
- No rerun on `CFG_RELEASE`
2024-01-11 13:50:23 -06:00
Jonathan Kelley
c5dfbd7913
fix test 2024-01-10 22:52:41 -08:00
Evan Almloff
e004c1722f set the required environment variable for manganis support 2024-01-10 11:19:51 -06:00
ealmloff
e1e29d1404
Merge branch 'master' into maybe-sync-signal 2024-01-09 15:31:31 -06:00
Evan Almloff
663296ae45 make collect-assets not optional in dioxus fullstack 2024-01-09 13:58:28 -06:00
TKirishima
48e413a4f3
fix: no project-name in argument of dx create (#1803) 2024-01-09 13:22:38 -06:00
Jonathan Kelley
2876a7deb2
Merge branch 'master' into feat/inline-attributes-fmt 2024-01-08 20:00:14 -08:00
Jonathan Kelley
28a9dc6805
Pin assets sha to keep CI in check 2024-01-08 14:54:02 -08:00
ealmloff
c7e104c0f0
Merge branch 'master' into maybe-sync-signal 2024-01-08 16:27:11 -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
Jonathan Kelley
fb40e72520
Merge pull request #1603 from divinerapier/master
Bump tauri bundler for using proxy to fetch resources
2024-01-08 10:38:05 -08:00
ealmloff
f54ee1c361
Merge branch 'master' into map-signal 2024-01-05 18:30:31 -06:00
Jonathan Kelley
785b61a05e
Merge branch 'master' into intigrate-collect-assets 2024-01-05 12:13:31 -08:00
Evan Almloff
4f654d61b7 fix cargo check 2024-01-04 19:05:36 -06:00
Evan Almloff
b1de7d850c Merge branch 'master' into intigrate-collect-assets 2024-01-04 18:44:29 -06:00
Teague Lasser
334e7e6f22
Updated packages and comments referencing old CLI location (#1786) 2024-01-04 18:41:05 -06:00
ealmloff
f913b2ce53
don't cache assets in the CLI (#1742) 2024-01-04 09:06:57 -06:00
Bennett-Petzold
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
cddcd69200 Merge branch 'maybe-sync-signal' into map-signal 2024-01-02 14:17:01 -06:00
Evan Almloff
15dff7ad55 delete a leftover dioxusin file on all unix operating systems, not just mac 2023-12-30 11:58:09 -06:00
Evan Almloff
ab79c00cd8 kill the fullstack server before starting another one 2023-12-29 16:07:44 -06:00
Evan Almloff
49be972507 make dx clean clean the new .dioxus directory 2023-12-29 15:20:30 -06:00
Evan Almloff
1683ec8a72 introduce RAIIChild to drop the child process for desktop even when the exit is not planned 2023-12-29 14:36:18 -06:00
Evan Almloff
d88a662877 Rename --debug to --force-debug and improve docs 2023-12-29 11:11:39 -06:00
Evan Almloff
1acfd46b0b fix formatting 2023-12-29 10:08:10 -06:00
Evan Almloff
f7881aa1f0 fix some merge conflicts 2023-12-29 09:46:58 -06:00
Evan Almloff
601c63b67f manually apply debug assertions flag for fullstack debug mode 2023-12-22 09:25:35 -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
Evan Almloff
5ab0c48ddd fix clippy 2023-12-17 17:55:02 -06:00
Evan Almloff
2a764aaf6a remove some unused CLI imports 2023-12-17 15:42:58 -06:00
Evan Almloff
e7515d18c1 show multiple different error messages in hot reloading 2023-12-17 15:39:48 -06:00
Exotik850
cf413780c1
Make hot reload error only show once (#1725) 2023-12-17 15:26:40 -06:00
Evan Almloff
f646f68b60 Merge branch 'master' into maybe-sync-signal 2023-12-15 18:38:06 -06:00
Evan Almloff
70c3abb8df Merge branch 'master' into maybe-sync-signal 2023-12-14 12:29:32 -06:00
Exotik850
1ec230ae29
Autoformat ignores files in .gitignore (#1704)
* Make autofmt ignore gitignored files

* don't panic if it can't get the git ignore files

* replace some with ok

* Filter rs files from gitignore

* fmt

* remove early return

* only ignore paths that start with target

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2023-12-13 09:44:01 -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
YuKun Liu
695bf009d1
fix: dx create not work (#1709) 2023-12-11 13:27:55 -06:00