diff --git a/.changes/gitingore-invalid-formatting.md b/.changes/gitingore-invalid-formatting.md new file mode 100644 index 00000000..c2ff1d72 --- /dev/null +++ b/.changes/gitingore-invalid-formatting.md @@ -0,0 +1,5 @@ +--- +"cargo-mobile2": "patch" +--- + +Fix `.gitignore` generated with wrong formatting. diff --git a/templates/apps/bevy-demo/.gitignore.hbs b/templates/apps/bevy-demo/.gitignore.hbs index 8d1bbe02..461a5a91 100644 --- a/templates/apps/bevy-demo/.gitignore.hbs +++ b/templates/apps/bevy-demo/.gitignore.hbs @@ -1 +1,10 @@ -# Rust target/ **/*.rs.bk # cargo-mobile2 .cargo/ /gen # macOS .DS_Store \ No newline at end of file +# Rust +target/ +**/*.rs.bk + +# cargo-mobile2 +.cargo/ +/gen + +# macOS +.DS_Store \ No newline at end of file diff --git a/templates/apps/egui/.gitignore.hbs b/templates/apps/egui/.gitignore.hbs index c3cb0ce4..461a5a91 100644 --- a/templates/apps/egui/.gitignore.hbs +++ b/templates/apps/egui/.gitignore.hbs @@ -2,9 +2,9 @@ target/ **/*.rs.bk -# cargo-mobile +# cargo-mobile2 .cargo/ /gen # macOS -.DS_Store +.DS_Store \ No newline at end of file diff --git a/templates/apps/wgpu/.gitignore.hbs b/templates/apps/wgpu/.gitignore.hbs index 8d1bbe02..461a5a91 100644 --- a/templates/apps/wgpu/.gitignore.hbs +++ b/templates/apps/wgpu/.gitignore.hbs @@ -1 +1,10 @@ -# Rust target/ **/*.rs.bk # cargo-mobile2 .cargo/ /gen # macOS .DS_Store \ No newline at end of file +# 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 8d1bbe02..461a5a91 100644 --- a/templates/apps/winit/.gitignore.hbs +++ b/templates/apps/winit/.gitignore.hbs @@ -1 +1,10 @@ -# Rust target/ **/*.rs.bk # cargo-mobile2 .cargo/ /gen # macOS .DS_Store \ No newline at end of file +# 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 8d1bbe02..461a5a91 100644 --- a/templates/apps/wry/.gitignore.hbs +++ b/templates/apps/wry/.gitignore.hbs @@ -1 +1,10 @@ -# Rust target/ **/*.rs.bk # cargo-mobile2 .cargo/ /gen # macOS .DS_Store \ No newline at end of file +# Rust +target/ +**/*.rs.bk + +# cargo-mobile2 +.cargo/ +/gen + +# macOS +.DS_Store \ No newline at end of file