Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build library as part of developing #216

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ $ bin/test
$ bin/test_system
```

You can optionally pass the path to a specific test.

## Running the dummy app

```bash
Expand Down
2 changes: 2 additions & 0 deletions Procfile.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
web: bin/rails server -b '0.0.0.0' -p 3033
js: yarn build --watch
7 changes: 6 additions & 1 deletion bin/dev
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
#!/usr/bin/env bash
bin/rails s
if ! gem list foreman -i --silent; then
echo "Installing foreman..."
gem install foreman
fi

exec foreman start -f Procfile.dev "$@"
8 changes: 7 additions & 1 deletion bin/test
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
#!/usr/bin/env bash
bundle exec rake app:test
yarn build

if [ $# -eq 0 ]; then
bundle exec rake app:test
else
bundle exec rails test "$@"
fi
8 changes: 7 additions & 1 deletion bin/test_system
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
#!/usr/bin/env bash
bundle exec rake app:test:system
yarn build

if [ $# -eq 0 ]; then
bundle exec rake app:test:system
else
bundle exec rails test "$@"
fi