improve supabase

This commit is contained in:
Andrei Canta
2024-07-26 11:24:37 +03:00
parent b8cc26113f
commit afcefdd568
3 changed files with 13 additions and 1 deletions
+9
View File
@@ -1,4 +1,13 @@
#!/bin/bash
# check if ./repo exists
if [ ! -d "./repo" ]; then
git clone --depth 1 --branch master --single-branch https://github.com/supabase/supabase repo
else
cd repo
git pull
cd ..
fi
# copy files from ./repo/docker to ./code
cp -r ./repo/docker/* ./code