diff --git a/.changes/config.json b/.changes/config.json index e6ee50cc..541fd990 100644 --- a/.changes/config.json +++ b/.changes/config.json @@ -1,5 +1,5 @@ { - "gitSiteUrl": "https://github.com/tauri-apps/tauri-mobile/", + "gitSiteUrl": "https://github.com/tauri-apps/cargo-mobile2/", "pkgManagers": { "rust": { "version": true, @@ -8,7 +8,7 @@ } }, "packages": { - "tauri-mobile": { + "cargo-mobile2": { "path": ".", "postversion": ["cargo check"], "manager": "rust" diff --git a/.changes/rename-cargo-mobile2.md b/.changes/rename-cargo-mobile2.md new file mode 100644 index 00000000..23613038 --- /dev/null +++ b/.changes/rename-cargo-mobile2.md @@ -0,0 +1,5 @@ +--- +"cargo-mobile2": "minor" +--- + +Rename this crate to `cargo-mobile2` diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index cf4fbcd6..b1e1fcc2 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,17 +1,16 @@ --- name: Bug report -about: Create a report to help us improve tauri-mobile -title: '' -labels: 'type: bug' -assignees: '' - +about: Create a report to help us improve cargo-mobile2 +title: "" +labels: "type: bug" +assignees: "" --- **Describe the bug** A clear and concise description of what the bug is. If you are using tauri-cli, please consider open an issue in Tauri main repo first. **Steps To Reproduce** -Steps to reproduce the behavior. It **must** use tauri-mobile itself and wry template directly instead of tauri-cli. +Steps to reproduce the behavior. It **must** use cargo-mobile2 itself and wry template directly instead of tauri-cli. **Expected behavior** A clear and concise description of what you expected to happen. @@ -27,10 +26,9 @@ Rustc: (if you build with specific commit, please list it as well) **Would you want to assign yourself to resolve this bug?** + - [ ] Yes - [ ] No **Additional context** Add any other context about the problem here. - - diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 7c940a4e..91c46269 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,10 +1,9 @@ --- name: Feature request -about: Suggest an idea for Tauri-mobile -title: '' +about: Suggest an idea for cargo-mobile2 +title: "" labels: feature request -assignees: '' - +assignees: "" --- **Is your feature request related to a problem? Please describe.** @@ -17,10 +16,9 @@ A clear and concise description of what you want to happen. A clear and concise description of any alternative solutions or features you've considered. **Would you want to assign yourself to implement this feature?** + - [ ] Yes - [ ] No **Additional context** Add any other context or screenshots about the feature request here. - - diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 85e64dff..96b6fd81 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -5,6 +5,7 @@ Please make sure to read the Pull Request Guidelines: https://github.com/tauri-a --> ### What kind of change does this PR introduce? + - [ ] Bugfix @@ -16,16 +17,17 @@ Please make sure to read the Pull Request Guidelines: https://github.com/tauri-a - [ ] Other, please describe: ### Does this PR introduce a breaking change? + - [ ] Yes - [ ] No ### Checklist -- [ ] This PR will resolve #___ -- [ ] A change file is added if any packages will require a version bump due to this PR per [the instructions in the readme](https://github.com/tauri-apps/tauri-mobile/blob/dev/.changes/readme.md). + +- [ ] This PR will resolve #\_\_\_ +- [ ] A change file is added if any packages will require a version bump due to this PR per [the instructions in the readme](https://github.com/tauri-apps/cargo-mobile2/blob/dev/.changes/readme.md). - [ ] I have added a convincing reason for adding this feature, if necessary - [ ] It can be built on all targets and pass CI/CD. ### Other information - diff --git a/.github/workflows/covector-version-or-publish.yml b/.github/workflows/covector-version-or-publish.yml index bfd64773..4f7db736 100644 --- a/.github/workflows/covector-version-or-publish.yml +++ b/.github/workflows/covector-version-or-publish.yml @@ -35,7 +35,7 @@ jobs: createRelease: true - name: Create Pull Request With Versions Bumped id: cpr - uses: peter-evans/create-pull-request@v3 + uses: tauri-apps/create-pull-request@v3 if: steps.covector.outputs.commandRan == 'version' with: title: "Publish New Versions" diff --git a/Cargo.lock b/Cargo.lock index 152d321b..df4f8cc2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -98,6 +98,48 @@ version = "3.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" +[[package]] +name = "cargo-mobile2" +version = "0.5.4" +dependencies = [ + "cocoa", + "colored", + "core-foundation 0.7.0", + "deunicode", + "duct", + "dunce", + "embed-resource", + "english-numbers", + "env_logger", + "freedesktop_entry_parser", + "handlebars", + "heck 0.4.1", + "home", + "ignore", + "indexmap", + "java-properties", + "lexical-core", + "libc", + "log", + "objc", + "objc_id", + "once-cell-regex", + "openssl", + "os_pipe", + "path_abs", + "rstest", + "serde", + "serde_json", + "simple_logger", + "structopt", + "textwrap", + "thiserror", + "toml", + "ureq", + "which", + "windows", +] + [[package]] name = "cc" version = "1.0.83" @@ -1247,48 +1289,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "tauri-mobile" -version = "0.5.4" -dependencies = [ - "cocoa", - "colored", - "core-foundation 0.7.0", - "deunicode", - "duct", - "dunce", - "embed-resource", - "english-numbers", - "env_logger", - "freedesktop_entry_parser", - "handlebars", - "heck 0.4.1", - "home", - "ignore", - "indexmap", - "java-properties", - "lexical-core", - "libc", - "log", - "objc", - "objc_id", - "once-cell-regex", - "openssl", - "os_pipe", - "path_abs", - "rstest", - "serde", - "serde_json", - "simple_logger", - "structopt", - "textwrap", - "thiserror", - "toml", - "ureq", - "which", - "windows", -] - [[package]] name = "tempfile" version = "3.8.0" diff --git a/Cargo.toml b/Cargo.toml index 156b5bbd..5954230a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "tauri-mobile" +name = "cargo-mobile2" version = "0.5.4" authors = [ "Tauri Programme within The Commons Conservancy", @@ -8,8 +8,8 @@ authors = [ ] edition = "2021" description = "Rust on mobile made easy!" -documentation = "https://docs.rs/tauri-mobile" -repository = "https://github.com/tauri-apps/tauri-mobile" +documentation = "https://docs.rs/cargo-mobile2" +repository = "https://github.com/tauri-apps/cargo-mobile2" readme = "README.md" keywords = [ "cargo", "mobile", "ios", "android", "tauri" ] categories = [ "development-tools::cargo-plugins" ] diff --git a/README.md b/README.md index 7ced6976..3d533d98 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,4 @@ -# ❗⚠️ WARNING - DEPRECATION NOTICE ❗⚠️ - -THIS CRATE HAS BEEN DEPRECATED, AND HAS BEEN RENAMED TO `cargo-mobile2` - -# tauri-mobile +# cargo-mobile2 > _The answer to "how do I use Rust on iOS and Android?"_ > @@ -10,17 +6,17 @@ THIS CRATE HAS BEEN DEPRECATED, AND HAS BEEN RENAMED TO `cargo-mobile2` This project is a fork of [cargo-mobile](https://github.com/BrainiumLLC/cargo-mobile/). Tauri uses it as a library dependency instead of using its CLI directly. For more information, please visit [Tauri's mobile guide](https://next--tauri.netlify.app/next/mobile/). -In the meantime, tauri-mobile contains the template of wry, please follow [wry's instruction](https://github.com/tauri-apps/wry#android--ios) if you want to use with it. +In the meantime, cargo-mobile2 contains the template of wry, please follow [wry's instruction](https://github.com/tauri-apps/wry#android--ios) if you want to use with it. ## Installation The build will probably take a bit, so feel free to go get a snack or something. ```bash -cargo install --git https://github.com/tauri-apps/tauri-mobile +cargo install --git https://github.com/tauri-apps/cargo-mobile2 ``` -tauri-mobile is currently supported on macOS, Linux and Windows. Note that it's not possible to target iOS on platforms other than macOS! You'll still get to target Android either way. +cargo-mobile2 is currently supported on macOS, Linux and Windows. Note that it's not possible to target iOS on platforms other than macOS! You'll still get to target Android either way. You'll need to have Xcode and the Android SDK/NDK installed. Some of this will ideally be automated in the future, or at least we'll provide a helpful guide and diagnostics. diff --git a/fast-install.ps1 b/fast-install.ps1 index febea99d..ca8fc513 100644 --- a/fast-install.ps1 +++ b/fast-install.ps1 @@ -18,7 +18,7 @@ function copyy { cp "$cargoTargetDir\debug\cargo-$args.exe" "$cargoHome\bin\cargo-$args.exe" } -cargo build -p tauri-mobile +cargo build -p cargo-mobile2 copyy "android" copyy "apple" copyy "mobile" diff --git a/fast-install.sh b/fast-install.sh index 4bd72310..b0964f51 100755 --- a/fast-install.sh +++ b/fast-install.sh @@ -23,7 +23,7 @@ function copy { cp $cargoTargetDir/debug/cargo-$1 $cargoHome/bin/cargo-$1 } -cargo build -p tauri-mobile $@ +cargo build -p cargo-mobile2 $@ copy "android" copy "apple" copy "mobile" diff --git a/src/bicycle/mod.rs b/src/bicycle/mod.rs index 546b70b5..44ad6d47 100644 --- a/src/bicycle/mod.rs +++ b/src/bicycle/mod.rs @@ -131,7 +131,7 @@ impl Bicycle { /// /// # Examples /// ``` - /// use tauri_mobile::bicycle::{ + /// use cargo_mobile2::bicycle::{ /// handlebars::{handlebars_helper, HelperDef}, /// Bicycle, EscapeFn, JsonMap, /// }; @@ -192,7 +192,7 @@ impl Bicycle { /// /// # Examples /// ``` - /// use tauri_mobile::bicycle::Bicycle; + /// use cargo_mobile2::bicycle::Bicycle; /// /// let bike = Bicycle::default(); /// let rendered = bike.render("Hello {{name}}!", |map| { diff --git a/src/bin/cargo-android.rs b/src/bin/cargo-android.rs index 01baa551..4615f97e 100644 --- a/src/bin/cargo-android.rs +++ b/src/bin/cargo-android.rs @@ -1,7 +1,7 @@ #![cfg(feature = "cli")] #![forbid(unsafe_code)] -use tauri_mobile::{ +use cargo_mobile2::{ android::{cli::Input, NAME}, util::cli::exec, }; diff --git a/src/bin/cargo-apple.rs b/src/bin/cargo-apple.rs index 2615ff70..d1f78b2a 100644 --- a/src/bin/cargo-apple.rs +++ b/src/bin/cargo-apple.rs @@ -3,7 +3,7 @@ #[cfg(target_os = "macos")] fn main() { - use tauri_mobile::{ + use cargo_mobile2::{ apple::{cli::Input, NAME}, util::cli::exec, }; @@ -12,7 +12,7 @@ fn main() { #[cfg(not(target_os = "macos"))] fn main() { - use tauri_mobile::util::cli::{Exit, Report}; + use cargo_mobile2::util::cli::{Exit, Report}; Exit::main(|_wrapper| { Err(Exit::Report(Report::error( "`cargo-apple` can only be used on macOS", diff --git a/src/bin/cargo-mobile.rs b/src/bin/cargo-mobile.rs index 516d3878..c5d9202d 100644 --- a/src/bin/cargo-mobile.rs +++ b/src/bin/cargo-mobile.rs @@ -1,9 +1,7 @@ #![cfg(feature = "cli")] #![forbid(unsafe_code)] -use std::path::PathBuf; -use structopt::StructOpt; -use tauri_mobile::{ +use cargo_mobile2::{ doctor, init, update, util::{ self, @@ -13,6 +11,8 @@ use tauri_mobile::{ }, NAME, }; +use std::path::PathBuf; +use structopt::StructOpt; #[derive(Debug, StructOpt)] #[structopt( @@ -69,7 +69,7 @@ pub enum Command { }, #[structopt(name = "open", about = "Open project in default code editor")] Open, - #[structopt(name = "update", about = "Update `tauri-mobile`")] + #[structopt(name = "update", about = "Update `cargo-mobile2`")] Update { #[structopt(long = "init", help = "Regenerate project if update succeeds")] init: bool, @@ -82,12 +82,12 @@ pub enum Command { ) )] #[cfg(target_os = "macos")] - Apple(tauri_mobile::apple::cli::Command), + Apple(cargo_mobile2::apple::cli::Command), #[structopt( name = "android", about = "Android commands (tip: type less by running `cargo android` instead!)" )] - Android(tauri_mobile::android::cli::Command), + Android(cargo_mobile2::android::cli::Command), #[structopt( name = "doctor", about = "Perform a check-up on your installation and environment" @@ -109,8 +109,8 @@ pub enum Error { OpenFailed(util::OpenInEditorError), UpdateFailed(update::Error), #[cfg(target_os = "macos")] - AppleFailed(tauri_mobile::apple::cli::Error), - AndroidFailed(tauri_mobile::android::cli::Error), + AppleFailed(cargo_mobile2::apple::cli::Error), + AndroidFailed(cargo_mobile2::android::cli::Error), DoctorFailed(doctor::Unrecoverable), } @@ -128,7 +128,7 @@ impl Reportable for Error { Self::OpenFailed(err) => { Report::error("Failed to open project in default code editor", err) } - Self::UpdateFailed(err) => Report::error("Failed to update `tauri-mobile`", err), + Self::UpdateFailed(err) => Report::error("Failed to update `cargo-mobile2`", err), #[cfg(target_os = "macos")] Self::AppleFailed(err) => err.report(), Self::AndroidFailed(err) => err.report(), @@ -222,10 +222,10 @@ impl Exec for Input { Ok(()) } #[cfg(target_os = "macos")] - Command::Apple(command) => tauri_mobile::apple::cli::Input::new(flags, command) + Command::Apple(command) => cargo_mobile2::apple::cli::Input::new(flags, command) .exec(wrapper) .map_err(Error::AppleFailed), - Command::Android(command) => tauri_mobile::android::cli::Input::new(flags, command) + Command::Android(command) => cargo_mobile2::android::cli::Input::new(flags, command) .exec(wrapper) .map_err(Error::AndroidFailed), Command::Doctor => doctor::exec(wrapper).map_err(Error::DoctorFailed), diff --git a/src/config/app/raw.rs b/src/config/app/raw.rs index d0ce8744..6bb04ec2 100644 --- a/src/config/app/raw.rs +++ b/src/config/app/raw.rs @@ -34,8 +34,8 @@ fn default_domain(_wrapper: &TextWrapper) -> Result, DefaultDomai #[cfg(not(feature = "brainium"))] if domain == "brainiumstudios.com" { crate::util::cli::Report::action_request( - "You have a Brainium email address, but you're using a non-Brainium installation of tauri-mobile!", - "If that's not intentional, run `cargo install --force --git https://github.com/tauri-apps/tauri-mobile --features brainium`", + "You have a Brainium email address, but you're using a non-Brainium installation of cargo-mobile2!", + "If that's not intentional, run `cargo install --force --git https://github.com/tauri-apps/cargo-mobile2 --features brainium`", ).print(_wrapper); } Some(domain.to_owned()) diff --git a/src/doctor/section/apple.rs b/src/doctor/section/apple.rs index 24417f47..66ff1c66 100644 --- a/src/doctor/section/apple.rs +++ b/src/doctor/section/apple.rs @@ -131,7 +131,7 @@ pub fn check() -> Section { Ok(teams) => { section.with_victories(teams.into_iter().map(|team| { // TODO: improve development/developer consistency throughout - // tauri-mobile + // cargo-mobile2 format!("Development team: {} ({})", team.name, team.id) })) } diff --git a/src/doctor/section/cargo_mobile.rs b/src/doctor/section/cargo_mobile.rs index 3303fe7b..a5dac800 100644 --- a/src/doctor/section/cargo_mobile.rs +++ b/src/doctor/section/cargo_mobile.rs @@ -42,7 +42,7 @@ pub fn check() -> Result { )) } else { Err(format!( - "The tauri-mobile installation directory is missing! Checked at {:?}", + "The cargo-mobile2 installation directory is missing! Checked at {:?}", install_dir, )) }), diff --git a/src/os/mod.rs b/src/os/mod.rs index 9d518a4b..0cbfb3fb 100644 --- a/src/os/mod.rs +++ b/src/os/mod.rs @@ -19,7 +19,7 @@ mod windows; pub use self::windows::*; #[cfg(not(any(target_os = "macos", target_os = "linux", windows)))] -compile_error!("Host platform not yet supported by tauri-mobile! We'd love if you made a PR to add support for this platform ❤️"); +compile_error!("Host platform not yet supported by cargo-mobile2! We'd love if you made a PR to add support for this platform ❤️"); // TODO: we should probably expose common functionality throughout `os` in a // less ad-hoc way... since it's really easy to accidentally break things. diff --git a/src/update.rs b/src/update.rs index 0b0c1b27..ef5f30a4 100644 --- a/src/update.rs +++ b/src/update.rs @@ -31,15 +31,15 @@ impl Display for Error { match self { Self::NoHomeDir(err) => write!(f, "{}", err), Self::StatusFailed(err) => { - write!(f, "Failed to check status of `tauri-mobile` repo: {}", err) + write!(f, "Failed to check status of `cargo-mobile2` repo: {}", err) } Self::MarkerCreateFailed { path, cause } => { write!(f, "Failed to create marker file at {:?}: {}", path, cause) } - Self::UpdateFailed(err) => write!(f, "Failed to update `tauri-mobile` repo: {}", err), + Self::UpdateFailed(err) => write!(f, "Failed to update `cargo-mobile2` repo: {}", err), Self::InstallFailed(err) => write!( f, - "Failed to install new version of `tauri-mobile`: {}", + "Failed to install new version of `cargo-mobile2`: {}", err ), Self::MarkerDeleteFailed { path, cause } => { @@ -50,7 +50,7 @@ impl Display for Error { } pub(crate) fn cargo_mobile_repo() -> Result { - Repo::checkouts_dir("tauri-mobile") + Repo::checkouts_dir("cargo-mobile2") } pub(crate) fn updating_marker_path(repo: &Repo) -> PathBuf { @@ -76,9 +76,9 @@ pub fn update(wrapper: &TextWrapper) -> Result<(), Error> { path: marker.to_owned(), cause, })?; - repo.update("https://github.com/tauri-apps/tauri-mobile", "dev") + repo.update("https://github.com/tauri-apps/cargo-mobile2", "dev") .map_err(Error::UpdateFailed)?; - println!("Installing updated `tauri-mobile`..."); + println!("Installing updated `cargo-mobile2`..."); let repo_c = repo.clone(); duct::cmd("cargo", ["install", "--force", "--path"]) .before_spawn(move |cmd| { @@ -94,9 +94,9 @@ pub fn update(wrapper: &TextWrapper) -> Result<(), Error> { cause, })?; log::info!("deleted marker file at {:?}", marker); - "installed new version of `tauri-mobile`" + "installed new version of `cargo-mobile2`" } else { - "`tauri-mobile` is already up-to-date" + "`cargo-mobile2` is already up-to-date" }; let details = util::unwrap_either( repo.latest_subject() diff --git a/src/util/path.rs b/src/util/path.rs index 4942d80e..a52a19b2 100644 --- a/src/util/path.rs +++ b/src/util/path.rs @@ -68,7 +68,7 @@ pub fn tools_dir() -> Result { } pub fn temp_dir() -> PathBuf { - std::env::temp_dir().join("com.brainiumstudios.tauri-mobile") + std::env::temp_dir().join("com.brainiumstudios.cargo-mobile2") } #[derive(Debug)] @@ -250,30 +250,30 @@ mod test { // UNIX #[cfg(any(target_os = "linux", target_os = "macos"))] case( - "/home/user/tauri-mobile-project/gen/android/tauri-mobile-project", + "/home/user/cargo-mobile2-project/gen/android/cargo-mobile2-project", "app/build/outputs/apk/arm64/debug/app-arm64-debug.apk", - "/home/user/tauri-mobile-project/gen/android/tauri-mobile-project/app/build/outputs/apk/arm64/debug/app-arm64-debug.apk" + "/home/user/cargo-mobile2-project/gen/android/cargo-mobile2-project/app/build/outputs/apk/arm64/debug/app-arm64-debug.apk" ), // UNIX but the second path contains root #[cfg(any(target_os = "linux", target_os = "macos"))] case( - "/home/user/tauri-mobile-project/gen/android/tauri-mobile-project", + "/home/user/cargo-mobile2-project/gen/android/cargo-mobile2-project", "/home/other/project/gen/android/app/build/outputs/apk/arm64/debug/app-arm64-debug.apk", "/home/other/project/gen/android/app/build/outputs/apk/arm64/debug/app-arm64-debug.apk" ), // Windows UNC #[cfg(windows)] case( - "\\\\?\\C:\\Users\\user\\tauri-mobile-project\\gen\\android\\tauri-mobile-project", + "\\\\?\\C:\\Users\\user\\cargo-mobile2-project\\gen\\android\\cargo-mobile2-project", "app\\..\\app\\build\\outputs\\.\\apk\\arm64\\debug\\app-arm64-debug.apk", - "\\\\?\\C:\\Users\\user\\tauri-mobile-project\\gen\\android\\tauri-mobile-project\\app\\build\\outputs\\apk\\arm64\\debug\\app-arm64-debug.apk" + "\\\\?\\C:\\Users\\user\\cargo-mobile2-project\\gen\\android\\cargo-mobile2-project\\app\\build\\outputs\\apk\\arm64\\debug\\app-arm64-debug.apk" ), // Windows legacy #[cfg(windows)] case ( - "D:\\Users\\user\\tauri-mobile-project\\gen\\android\\tauri-mobile-project", + "D:\\Users\\user\\cargo-mobile2-project\\gen\\android\\cargo-mobile2-project", "app\\build\\outputs\\apk\\arm64\\debug\\app-arm64-debug.apk", - "D:\\Users\\user\\tauri-mobile-project\\gen\\android\\tauri-mobile-project\\app\\build\\outputs\\apk\\arm64\\debug\\app-arm64-debug.apk" + "D:\\Users\\user\\cargo-mobile2-project\\gen\\android\\cargo-mobile2-project\\app\\build\\outputs\\apk\\arm64\\debug\\app-arm64-debug.apk" ) )] fn test_prefix_path(root: impl AsRef, path: impl AsRef, result: &str) { diff --git a/templates/apps/bevy-demo/.gitignore.hbs b/templates/apps/bevy-demo/.gitignore.hbs index 419513ee..8d1bbe02 100644 --- a/templates/apps/bevy-demo/.gitignore.hbs +++ b/templates/apps/bevy-demo/.gitignore.hbs @@ -1,10 +1 @@ -# Rust -target/ -**/*.rs.bk - -# tauri-mobile -.cargo/ -/gen - -# macOS -.DS_Store +# Rust target/ **/*.rs.bk # cargo-mobile2 .cargo/ /gen # macOS .DS_Store \ No newline at end of file diff --git a/templates/apps/bevy.toml b/templates/apps/bevy.toml index c35ccbd3..27dfd1cd 100644 --- a/templates/apps/bevy.toml +++ b/templates/apps/bevy.toml @@ -1,2 +1,2 @@ -path = "~/.tauri-mobile/templates/apps/bevy" +path = "~/.cargo-mobile2/templates/apps/bevy" base = "bevy-demo" diff --git a/templates/apps/wgpu/.gitignore.hbs b/templates/apps/wgpu/.gitignore.hbs index 419513ee..8d1bbe02 100644 --- a/templates/apps/wgpu/.gitignore.hbs +++ b/templates/apps/wgpu/.gitignore.hbs @@ -1,10 +1 @@ -# Rust -target/ -**/*.rs.bk - -# tauri-mobile -.cargo/ -/gen - -# macOS -.DS_Store +# Rust target/ **/*.rs.bk # cargo-mobile2 .cargo/ /gen # macOS .DS_Store \ No newline at end of file diff --git a/templates/apps/winit/.gitignore.hbs b/templates/apps/winit/.gitignore.hbs index 419513ee..8d1bbe02 100644 --- a/templates/apps/winit/.gitignore.hbs +++ b/templates/apps/winit/.gitignore.hbs @@ -1,10 +1 @@ -# Rust -target/ -**/*.rs.bk - -# tauri-mobile -.cargo/ -/gen - -# macOS -.DS_Store +# Rust target/ **/*.rs.bk # cargo-mobile2 .cargo/ /gen # macOS .DS_Store \ No newline at end of file diff --git a/templates/apps/wry/.gitignore.hbs b/templates/apps/wry/.gitignore.hbs index 419513ee..8d1bbe02 100644 --- a/templates/apps/wry/.gitignore.hbs +++ b/templates/apps/wry/.gitignore.hbs @@ -1,10 +1 @@ -# Rust -target/ -**/*.rs.bk - -# tauri-mobile -.cargo/ -/gen - -# macOS -.DS_Store +# Rust target/ **/*.rs.bk # cargo-mobile2 .cargo/ /gen # macOS .DS_Store \ No newline at end of file