Commit Graph
93 Commits
Author SHA1 Message Date
Evan Almloff 636aeb4b90 integrate liveview with the launch builder 2024-01-22 11:56:34 -06:00
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
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
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
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
ealmloff f54ee1c361 Merge branch 'master' into map-signal 2024-01-05 18:30:31 -06: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
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 49be972507 make dx clean clean the new .dioxus directory 2023-12-29 15:20:30 -06:00
Evan Almloff d88a662877 Rename --debug to --force-debug and improve docs 2023-12-29 11:11:39 -06:00
Evan Almloff f7881aa1f0 fix some merge conflicts 2023-12-29 09:46:58 -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 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
Exotik850andEvan Almloff 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
marc2332 ce5d7bd11b rename to split-line-attributes 2023-12-09 16:51:41 +01:00
marc2332 52cb5ff951 feat: --inline-attributes option for autofmt 2023-12-09 11:16:26 +01: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
Evan Almloff cd48b3b7f9 allow base_path in the CLI 2023-11-15 08:23:12 -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
Alex Parrill 52fb080193 Use indentation settings in dx fmt and vscode extension
Adds the ability to specify an indent string to public autofmt methods - either
a sequence of spaces or a tab character.

Get the indentation style and size from rustfmt for dx fmt, or from the editor
settings for the vscode extension.

Closes #1595
2023-11-01 17:24:18 -04:00
Evan Almloff b26985ea6c make debug build of fullstack applications load faster by default 2023-10-10 14:23:58 -05:00
Evan Almloff b76f129083 Merge branch 'master' into intigrate-collect-assets 2023-10-10 09:57:16 -05:00
Timothy Mertz cde1e886d6 cli: Add ability for autofmt to read stdin (#1529)
This change adds the ability for autofmt to read from stdin by using
'-f -' or '--file -'
2023-10-09 08:20:31 -05:00
Evan Almloff e2f50cc689 Merge branch 'master' into intigrate-collect-assets 2023-09-22 07:56:00 -05:00
Leonard 07613c806b Fix #1367 (#1471)
* Bump cargo_toml to 1.16.0

* Format
2023-09-18 18:51:04 -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