Skip to content

Commit

Permalink
Merge branch 'main' into fix-dialog-scroll
Browse files Browse the repository at this point in the history
* main:
  Build library as part of developing (#216)
  • Loading branch information
josefarias committed Oct 14, 2024
2 parents e7e01fc + 8694bdc commit a6bace0
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 3 deletions.
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

0 comments on commit a6bace0

Please sign in to comment.