Skip to content

🎥 Make videos programmatically with React

Fix build scripts

Jonny Burgerb3644615d599
diff --git a/packages/example/runlambda.sh b/packages/example/runlambda.sh
index 475c14791d..81a3e1815e 100644
--- a/packages/example/runlambda.sh
+++ b/packages/example/runlambda.sh
@@ -1,2 +1,10 @@
+set -e
+cd ..
+cd lambda
+bun run make
+cd ..
+cd example
+bunx remotion lambda functions rmall -f
+bunx remotion lambda functions deploy --memory=3000 --disk=10000
bunx remotion lambda sites create --site-name=testbed-v6 --log=verbose --enable-folder-expiry
bunx remotion lambda render testbed-v6 OffthreadRemoteVideo --log=verbose --delete-after="1-day"
diff --git a/packages/example/testcloudrun.sh b/packages/example/testcloudrun.sh
index b9bda8f917..f9016d6084 100644
--- a/packages/example/testcloudrun.sh
+++ b/packages/example/testcloudrun.sh
@@ -4,7 +4,7 @@ cd renderer
node build.mjs --cloudrun
cd ..
cd cloudrun
-bun run build
+bun run make
cd container
ARTIFACT_REGISTRY_ENV=development node submit.mjs
cd ..
diff --git a/packages/example/testlambda.mjs b/packages/example/testlambda.mjs
index 0816031f3c..574e8bc518 100644
--- a/packages/example/testlambda.mjs
+++ b/packages/example/testlambda.mjs
@@ -1,6 +1,6 @@
import {execSync} from 'child_process';
-execSync('bun run build', {
+execSync('bun run make', {
cwd: '../lambda',
stdio: 'inherit',
});