Add build scripts

This commit is contained in:
2025-07-17 09:53:01 +00:00
committed by jenkins-runner
parent 2d297f9d95
commit 285e5f4db4
3 changed files with 37 additions and 0 deletions

9
dev/tools/build_release.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
cd engine/src/out/
et build -c ci/android_release -j $(nproc)
et build -c host_release -j $(nproc)
rm android_release || true
ln -sf ci/android_release android_release

7
dev/tools/envsetup.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
ET_P=$(pwd)/engine/src/flutter/bin/
echo "Adding $ET_P to path"
PATH=$PATH:$ET_P
echo "Writing flutter root path to ~/.flutter_path"
echo $PWD > ~/.flutter_path