mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
fix(cli): remove buildSrc from Android project gitignored paths (#6702)
This commit is contained in:
committed by
GitHub
parent
9de897919a
commit
ee2d3b971d
6
.changes/android-buildsrc-gitignore.md
Normal file
6
.changes/android-buildsrc-gitignore.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Do not gitignore the Android project's `buildSrc` folder by default since we removed absolute paths from it.
|
||||
@@ -9,8 +9,6 @@
|
||||
/.idea/assetWizardSettings.xml
|
||||
.DS_Store
|
||||
build
|
||||
/buildSrc/src/main/{{package-path}}/kotlin/BuildTask.kt
|
||||
/buildSrc/src/main/{{package-path}}/kotlin/RustPlugin.kt
|
||||
/captures
|
||||
.externalNativeBuild
|
||||
.cxx
|
||||
|
||||
@@ -25,7 +25,7 @@ open class BuildTask : DefaultTask() {
|
||||
val executable = """{{tauri-binary}}""";
|
||||
try {
|
||||
runTauriCli(executable)
|
||||
} catch (e: Exception){
|
||||
} catch (e: Exception) {
|
||||
if (Os.isFamily(Os.FAMILY_WINDOWS)) {
|
||||
runTauriCli("$executable.cmd")
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user