Skip to content

Commit

Permalink
Build library as part of developing (#216)
Browse files Browse the repository at this point in the history
We have to do this as we're now only importing the edm build as per #209
  • Loading branch information
josefarias authored Oct 14, 2024
1 parent 5367ff5 commit 8694bdc
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 8694bdc

Please sign in to comment.