Add more meta scripts
This commit is contained in:
parent
1b94d5573c
commit
54773a144c
7 changed files with 30 additions and 0 deletions
7
meta/clean
Executable file
7
meta/clean
Executable file
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
git clean -dfx \
|
||||||
|
-e gdn-app/src-tauri/gen/android/.idea/ \
|
||||||
|
-e gdn-app/src-tauri/gen/android/key.properties \
|
||||||
|
-e gdn-app/src-tauri/gen/android/local.properties \
|
||||||
6
meta/dev
Executable file
6
meta/dev
Executable file
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
pushd gdn-app
|
||||||
|
pnpm tauri dev
|
||||||
|
popd
|
||||||
6
meta/dev-android
Executable file
6
meta/dev-android
Executable file
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
pushd gdn-app
|
||||||
|
pnpm tauri android dev --open
|
||||||
|
popd
|
||||||
7
meta/setup
Executable file
7
meta/setup
Executable file
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
pnpm install
|
||||||
|
|
||||||
|
# https://v2.tauri.app/start/prerequisites/#android
|
||||||
|
rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android
|
||||||
4
meta/update-pnpm
Executable file
4
meta/update-pnpm
Executable file
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
pnpm update --recursive
|
||||||
Loading…
Add table
Add a link
Reference in a new issue