Skip to content

Commit ee2d3b9

Browse files
authored
fix(cli): remove buildSrc from Android project gitignored paths (#6702)
1 parent 9de8979 commit ee2d3b9

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"cli.rs": patch
3+
"cli.js": patch
4+
---
5+
6+
Do not gitignore the Android project's `buildSrc` folder by default since we removed absolute paths from it.

tooling/cli/templates/mobile/android/.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
/.idea/assetWizardSettings.xml
1010
.DS_Store
1111
build
12-
/buildSrc/src/main/{{package-path}}/kotlin/BuildTask.kt
13-
/buildSrc/src/main/{{package-path}}/kotlin/RustPlugin.kt
1412
/captures
1513
.externalNativeBuild
1614
.cxx

tooling/cli/templates/mobile/android/buildSrc/src/main/kotlin/BuildTask.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ open class BuildTask : DefaultTask() {
2525
val executable = """{{tauri-binary}}""";
2626
try {
2727
runTauriCli(executable)
28-
} catch (e: Exception){
28+
} catch (e: Exception) {
2929
if (Os.isFamily(Os.FAMILY_WINDOWS)) {
3030
runTauriCli("$executable.cmd")
3131
} else {

0 commit comments

Comments
 (0)