Skip to content

Commit de249ad

Browse files
committed
Add setup scripts for development: bin/setup (bash and bat)
- Added bin/setup (bash) and bin/setup.bat (Windows) for development environment setup. - Both scripts install dependencies via Bundler and build stub executables required for testing. - Bash version is kept minimal for terminal-savvy developers. - Windows version uses echo prompts for better visibility.
1 parent 75282c2 commit de249ad

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

bin/setup

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ IFS=$'\n\t'
44
set -vx
55

66
bundle install
7+
bundle exec rake build_stub

bin/setup.bat

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ if errorlevel 1 (
1717
exit /b 1
1818
)
1919

20+
echo == Building stub executables ==
21+
22+
call bundle exec rake build_stub
23+
if errorlevel 1 (
24+
echo Failed to build stubs.
25+
exit /b 1
26+
)
27+
2028
echo == Setup completed ==
2129

2230
endlocal

0 commit comments

Comments
 (0)