File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ @ echo off
2
+
3
+ REM Open Git Bash and run the script to seed the database, suppressing all output
4
+ " C:\Program Files\Git\bin\bash.exe" -c " bash data/bash-scripts/seed_local_dynamodb.sh >nul 2>&1"
5
+
6
+ REM Check the exit code of the last command
7
+ IF ERRORLEVEL 1 (
8
+ echo Seeding data failed. Check the console for details.
9
+ exit /b 1
10
+ ) ELSE (
11
+ echo Data seeded successfully.
12
+ )
13
+
14
+ exit /b 0
Original file line number Diff line number Diff line change
1
+ @ echo off
2
+
3
+ REM Open Git Bash and run the script to create the DynamoDB table, suppressing all output
4
+ " C:\Program Files\Git\bin\bash.exe" -c " bash data/bash-scripts/start_local_dynamodb.sh >nul 2>&1"
5
+
6
+ REM Check the exit code of the last command
7
+ IF ERRORLEVEL 1 (
8
+ echo Script to create table failed. Check the console for details.
9
+ exit /b 1
10
+ ) ELSE (
11
+ echo Database created successfully.
12
+ )
13
+
14
+ exit /b 0
You can’t perform that action at this time.
0 commit comments