Skip to content

Commit 0e49f4e

Browse files
fix: Added executable permission for shell scripts in dev container
1 parent 474127f commit 0e49f4e

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.devcontainer/setupEnv.sh

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,29 @@
11
#!/bin/sh
22

33
set -e # Exit on error
4+
echo "Pull latest code for the current branch"
5+
git fetch
6+
git pull
47

58
echo "Setting up ContentProcessor..."
69
cd ./src/ContentProcessor
710
uv sync --frozen
811
cd ../../
912

10-
pwd
11-
1213
echo "Setting up ContentProcessorApi..."
1314
cd ./src/ContentProcessorAPI
1415
uv sync --frozen
1516
cd ../../
16-
pwd
1717

1818
echo "Installing dependencies for ContentProcessorWeb..."
1919
cd ./src/ContentProcessorWeb
2020
yarn install
2121

22+
cd ../../
23+
24+
echo "Setting up executable permission for shell scripts"
25+
chmod +x ./infra/scripts/docker-build.sh
26+
chmod +x ./src/ContentProcessorAPI/samples/upload_files.sh
27+
chmod +x ./src/ContentProcessorAPI/samples/schemas/register_schema.sh
28+
2229
echo "Setup complete! 🎉"

0 commit comments

Comments
 (0)