Commit Graph

176 Commits

Author SHA1 Message Date
Lucas Nogueira
cf0986491c
chore(cli): fix clippy warnings 2022-12-15 18:30:32 -03:00
Lucas Nogueira
015020760a
chore: fix clippy warnings 2022-12-15 18:03:28 -03:00
Fabian-Lars
cd8c074ae6
feat(cli): add support for Cargo's workspace inheritance for the package version, closes #5070 (#5775)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-14 13:39:05 -03:00
Avaab Razzaq
9e7ce0a8ee
feat(cli): detect SolidJS and SolidStart (#5758) 2022-12-08 09:47:32 -03:00
Lucas Fernandes Nogueira
9d872ab872
feat(cli): detect SvelteKit and Vite (#5742) 2022-12-02 08:18:28 -03:00
Amr Bashir
c0989848b9
feat(cli/dev): add --no-dev-server, ref #5708 (#5722) 2022-11-30 10:34:51 -03:00
Fabian-Lars
2d545eff58
fix(cli): corrupted icons in bundled macOS icons (#5698)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-11-28 08:57:32 -03:00
Lucas Nogueira
1ecaeb29aa
fix(cli): inject config feature flags when features arg is not provided 2022-11-18 13:12:50 -03:00
Lucas Fernandes Nogueira
582c25a0f0
refactor(cli): disable api-all on templates (#5538) 2022-11-03 18:57:32 -03:00
Lucas Nogueira
ab29908aba
chore(cli): remove unneeded create_dir_all call 2022-11-03 09:37:18 -03:00
Lucas Nogueira
873b9aee90
chore: run yarn format 2022-11-03 09:27:43 -03:00
Amr Bashir
cc186c7a0e
fix(cli): keep dev watcher alive if config is incorrect, closes #5173 (#5495)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-27 19:47:50 -03:00
Amr Bashir
9417ce401c
fix(cli): apply .taurignore rules to workspace members, closes #5355 (#5460)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-27 19:01:28 -03:00
Amr Bashir
a3a70218f3
fix(cli): pass --no-default-features to runner instead of app, closes #5415 (#5474) 2022-10-25 10:26:30 -03:00
Jonas Kruckenberg
5b1e99f264
Fix/hook env vars (#5452)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-22 10:33:15 -03:00
Lucas Fernandes Nogueira
e7ccbd8573
feat(cli): detect JSON5 and TOML configuration files in the dev watcher (#5439) 2022-10-19 15:37:54 -03:00
Tnze
9076d5d2e7
feat(cli): add prompt information when file changing detected, closes #5417 (#5428)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-19 10:24:56 -03:00
renovate[bot]
a65b5fea3d
chore(deps) Update Rust crate clap to v4 (#5353)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-19 10:04:13 -03:00
Amr Bashir
a4aec9f0a8
feat(cli): expose TAURI_TARGET_TRIPLE to before*Commands, closes #5091 (#5101)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-03 16:11:06 -03:00
renovate[bot]
04201d43b1
chore(deps) Update Rust crate notify to v5, clap to v4 (#5109)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-29 10:34:50 -03:00
Amr Bashir
628285c1cf
feat(bundler): add publisher field, closes #5273 (#5283)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-28 13:42:26 -03:00
Amr Bashir
54c337e06f
feat(cli): hotreload support for frontend static files, closes #2173 (#5256)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-28 13:16:58 -03:00
Amr Bashir
b9316a64ea
fix(cli): validate productName in config, closes #5233 (#5262) 2022-09-28 11:44:14 -03:00
Lucas Fernandes Nogueira
18b17a954c
chore(cli): remove unused dependencies (#5219) 2022-09-18 09:07:06 -03:00
Fabian-Lars
3fdd287704
fix(cli): fix wrong filename for 256px png icon (#5164) 2022-09-08 15:14:22 -03:00
Fabian-Lars
12e9d811e6
feat(cli): Add icon command (tauricon) (#4992)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-03 14:37:41 -03:00
Josh Soref
8fd79b8fc0
Spelling (#4880)
Co-authored-by: Lorenzo Lewis <lorenzo_lewis@icloud.com>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-09-03 01:03:02 -03:00
Lucas Fernandes Nogueira
b9fb53ed73
docs(cli): clarify passing arguments to the application on tauri dev closes #5079 (#5086) 2022-08-29 09:31:21 -03:00
Lucas Fernandes Nogueira
2901145c49
chore: update license headers (#5067) 2022-08-28 15:13:21 -03:00
Dave Lage
02a2ec52f1
fix: Grammar in signer generate (#5004) 2022-08-22 18:12:41 -03:00
Lucas Fernandes Nogueira
436f3d8d66
feat(cli): load Cargo configuration to check default build target (#4990) 2022-08-21 17:48:28 -03:00
Fabian-Lars
fea70effad
refactor(cli): Use cargo metadata to detect the workspace root and target directory, closes #4632, #4928. (#4932) 2022-08-21 10:42:26 -03:00
Lucas Fernandes Nogueira
c53d9ea1b3
refactor(cli): prepare for mobile implementation (#4952) 2022-08-16 10:13:14 -03:00
Amr Bashir
57ab9847eb
feat(cli): add beforeBundleCommand, closes #4879 (#4893)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-08-09 12:54:44 -03:00
Amr Bashir
4e8b122df6
refactor(cli/core/bundler): use absolute path for msiexec and powershell (#4884) 2022-08-08 18:59:59 -03:00
Lucas Fernandes Nogueira
d88b9de7aa
feat(core): add fips_compliant wix config option, closes #4541 (#4843) 2022-08-04 14:58:26 -03:00
Lucas Fernandes Nogueira
fa23310f23
fix(cli): set MACOSX_DEPLOYMENT_TARGET env var, closes #4704 (#4842) 2022-08-02 19:54:31 -03:00
Lucas Fernandes Nogueira
d6f7d3cfe8
Add cwd option to before commands, add wait option to dev #4740 #3551 (#4834) 2022-08-02 18:54:50 -03:00
Lucas Fernandes Nogueira
ae83d008f9
feat: add support to TOML config file Tauri.toml, closes #4806 (#4813) 2022-08-02 14:12:26 -03:00
Lucas Fernandes Nogueira
0983d7ce7f
feat(cli): add --no-watch argument to the dev command, closes #4617 (#4793) 2022-07-29 18:34:43 -03:00
Lucas Fernandes Nogueira
596fa08d48
feat(cli): automatically use .taurignore, ref #4617 (#4623) 2022-07-28 18:58:38 -03:00
Lucas Nogueira
816f474c3e
fix(cli): only try to read updater private key if we've bundled it 2022-07-25 14:04:52 -03:00
Lucas Fernandes Nogueira
47fab6809a
fix(cli): dev watcher incorrectly killing process on multiple file write (#4684) 2022-07-25 13:51:04 -03:00
Amr Bashir
6d4945c9f0
feat(cli): prompt for before*Command, closes #4691 (#4721)
* feat(cli): prompt for before*Command, closes #4691

* fix default command

* add allow_empty argument

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-07-25 10:59:08 -03:00
Lucas Fernandes Nogueira
b2a8930b3c
feat(cli): validate updater private key when signing (#4754) 2022-07-25 10:58:25 -03:00
Axel Lindeberg
b48962ed15
fix(cli): don't warn on first dev server connection attempt (#4751)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-07-24 09:41:37 -03:00
Lucas Fernandes Nogueira
c635a0dad4
refactor(cli): do not capture and force colors of cargo build output (#4627) 2022-07-12 09:49:23 -03:00
Vinícius Miguel
bc370e3268
feat: reduce the amount of heck-related allocations (#4634)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-07-11 16:07:39 -03:00
Lucas Nogueira
6fb49fd19b
fix(cli.js): add timeout to manifest watcher to prevent deadlock 2022-07-06 12:45:34 -03:00
Lucas Fernandes Nogueira
9170c92070
feat(core): improve config deserialization error messages (#4607) 2022-07-06 10:33:45 -03:00
Lucas Fernandes Nogueira
fa028ebf3c
refactor: do not pass entire config from CLI to core, send patch instead (#4598) 2022-07-06 09:29:26 -03:00
Lucas Fernandes Nogueira
2e61abaa9a
feat(cli): allow dynamic link vcruntime, closes #4565 (#4601) 2022-07-06 09:29:03 -03:00
Lucas Fernandes Nogueira
8e3e7fc646
feat(cli): improve bundle identifier validation, closes #4589 (#4596) 2022-07-05 19:57:31 -03:00
Lucas Fernandes Nogueira
64416100c6
refactor(cli): reuse Rust build logic for dev and build commands (#4578) 2022-07-05 10:21:20 -03:00
Lucas Nogueira
f65eb4f84d
fix(cli.js): revert run command to be nonblocking 2022-07-04 09:09:00 -03:00
Lucas Fernandes Nogueira
dbb8c87b96
feat(cli): watch Cargo workspaces in the dev command, closes #4222 (#4572) 2022-07-03 19:48:05 -03:00
Lucas Fernandes Nogueira
573b4c0b3c
refactor(cli): move watch and manifest logic to the Rust impl (#4571) 2022-07-02 15:05:18 -03:00
Jonas Kruckenberg
8e808fece9
fix(cli.rs): conflicts_with arg doesn't exist closes (#4538)
* fix: conflicts_with path doesn't exist

* add change file

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-30 10:38:57 -03:00
Fabian-Lars
de645a32e9
fix(cli): Typo in beforeBuildCommand error message (#4516) 2022-06-29 09:38:03 -03:00
Robin van Boven
bf45ca1df6
fix(cli,bundler): prefer AppImage libraries with ABI version (#4505) 2022-06-28 23:45:36 -03:00
Robin van Boven
0e6edeb14f
fix(cli): Don't add pkg-config to deb (#4508) 2022-06-28 23:44:14 -03:00
Lucas Fernandes Nogueira
094b3eb352
fix(cli): file name instead of path on updater sig comment, closes #4467 (#4484) 2022-06-27 09:56:37 -03:00
Lucas Fernandes Nogueira
2ca762d207
feat(bundler): extend webview2 installation options, closes #2882 #2452 (#4466)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2022-06-26 15:45:31 -03:00
Lucas Fernandes Nogueira
13b8a2403d
feat(cli): validate target argument (#4458) 2022-06-24 13:16:19 -03:00
Lucas Fernandes Nogueira
b025b9f581
refactor(cli): set binary name on dev (#4447) 2022-06-23 22:09:37 -03:00
Lucas Fernandes Nogueira
6650e5d672
fix(cli): preserve Cargo manifest formatting when possible (#4431) 2022-06-22 00:14:46 -03:00
Lucas Fernandes Nogueira
e0e5f77243
feat(cli): improve cargo not found error message, closes #4428 (#4430) 2022-06-22 00:14:27 -03:00
Lucas Fernandes Nogueira
12f65219ea
fix(cli): read lockfile from workspace on the info command, closes #4232 (#4423) 2022-06-21 13:19:36 -03:00
Lucas Fernandes Nogueira
31c15cd2bd
docs(config): enhance documentation for bundle targets, closes #3251 (#4418) 2022-06-21 13:13:56 -03:00
Lucas Fernandes Nogueira
45076b3ede
refactor(bundler): use the plist crate to create and merge Info.plist (#4412) 2022-06-21 10:00:12 -03:00
fehnomenal
83186dd897
Read extra ignore file for dev watcher, closes #4406 (#4409)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-20 09:49:19 -03:00
Lucas Fernandes Nogueira
010530459e
chore(cli): use unix path separator on $schema (#4384) 2022-06-19 12:48:48 -03:00
Imad Bouziani
0674a80129
fix: assert config.bundle.identifier to be only alphanumeric, hyphens or dots. closes #4359 (#4363)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-17 11:26:14 -03:00
Lucas Fernandes Nogueira
4ce8e22813
refactor(core): use Icon for tray icons (#4342) 2022-06-14 17:50:15 -03:00
Lucas Fernandes Nogueira
d29971e22c
fix(ci): [CLI] do not rely on libappindicator-sys (#4335) 2022-06-14 02:06:39 -03:00
Lucas Fernandes Nogueira
76d1eaaebd
feat(cli): debug command output in real time (#4318) 2022-06-12 09:00:54 -03:00
Fabian-Lars
d335fae92c
feat(bundler): bundle additional gstreamer files, closes #4092 (#4271)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-10 16:20:37 -03:00
Lucas Fernandes Nogueira
d703d27a70
fix(build): statically link VC runtime only on tauri build (#4292) 2022-06-07 22:34:30 -03:00
Lucas Fernandes Nogueira
3455244436
feat(cli): bundle appindicator library in the AppImage, closes #3859 (#4267) 2022-06-07 11:48:29 -03:00
Lucas Fernandes Nogueira
2322ac11cf
fix(bundler): bundle /usr/bin/xdg-open in appimage if open API enabled (#4265) 2022-06-04 11:45:24 -03:00
Lucas Fernandes Nogueira
6216eb49e7
refactor(core): drop ayatana-tray and gtk-tray Cargo features (#4247) 2022-06-02 14:42:15 -03:00
Lucas Fernandes Nogueira
f685df399a
fix(cli): parsing of arguments with multiple values, closes #4231 (#4233) 2022-05-29 10:06:57 -03:00
Lucas Fernandes Nogueira
bb061509fb
refactor(core): statically link vcruntime, closes #4122 (#4227) 2022-05-27 14:33:04 -03:00
Fabian-Lars
bd8f3e298a
fix(cli): manual config lookup to handle gitignored folders, fixes #3527 (#4224) 2022-05-26 15:14:43 -03:00
Fabian-Lars
569fbd8b40
fix(cli): typo in update check notification (#4223) 2022-05-26 14:27:06 -03:00
Lucas Fernandes Nogueira
cdfa625511
fix(cli): properly read info when using yarn 2+, closes #4106 (#4193) 2022-05-23 09:37:31 -03:00
Lucas Fernandes Nogueira
9f2c341319
feat(core): configure msiexec display options, closes #3951 (#4061)
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2022-05-15 09:02:30 -03:00
Lucas Fernandes Nogueira
a1929c6dac
fix(cli): always read custom config file from CWD, closes #4067 (#4074) 2022-05-07 16:20:58 -03:00
Jonas Kruckenberg
35f2147161
feat(cli): Improve CLI logging (#4060)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-07 10:19:54 -03:00
Lucas Fernandes Nogueira
95726ebb61
feat(cli): prevent default bundle identifier from building, closes #4041 (#4042) 2022-05-04 10:48:38 -03:00
Alex Rock
2778d21f9b
Fix binary extension duplicate "." char (#4055) 2022-05-04 10:24:14 -03:00
Alex Rock
4562e671e4
fix(build): append .exe binary based on target triple instead of running OS, closes #3870 (#4032)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-05-03 13:57:11 -03:00
Lucas Fernandes Nogueira
715cbde384
feat(config): add $schema to tauri.conf.json, closes #3464 (#4031) 2022-05-03 12:26:16 -03:00
Lucas Fernandes Nogueira
320484866b
fix(cli): powershell crashing on SIGINT, closes #3997 (#4007) 2022-04-29 19:51:08 -03:00
Amr Bashir
bbabc8cd1e
fix(cli.rs): remove startup delay in tauri dev (#3999)
* fix(cli.rs): remove startup delay in `tauri dev`

* change timeout [skip ci]

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-04-29 13:44:31 -03:00
Amr Bashir
4f0f3187c9
fix(cli.rs): fix tauri info panic when a package isn't installed, closes #3985 (#3996) 2022-04-29 13:29:31 -03:00
Lucas Fernandes Nogueira
094534d138
fix(cli): dev command stderr text overflow on Windows, closes #3995 (#4000) 2022-04-29 13:28:13 -03:00
Ashish Shekar
a649aad7ad
feat(cli): check and notify about updates on tauri dev, closes #3789 (#3960)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-04-25 11:31:25 -03:00
Lucas Fernandes Nogueira
f68af45a11
fix(cli): use terminal_size instead of term_size for Windows support (#3955) 2022-04-24 13:54:22 -03:00
Lucas Fernandes Nogueira
b5622882cf
fix(cli): exit on non-compilation Cargo errors, closes #3930 (#3942) 2022-04-22 12:59:03 -03:00