mirror of
https://gitea.invidious.io/iv-org/shard-radix.git
synced 2024-08-07 13:07:04 +00:00
Move away from local installed Crystal and use `hydrofoil-crystal` container image as runtime environment. The included `docker-compose.yml` and `Procfile.dev` files setups everything that is needed to automatically run the project's specs. To start watching for changes, in a console: $ docker compose up (Use `docker-compose` if you're still using old version of Docker Compose) You can press `Ctrl+C` to stop it or from another console: $ docker compose stop [skip ci]
3 lines
199 B
Text
3 lines
199 B
Text
# watch for changes in src & spec and invoke `crystal spec`. Run only when changes are detected
|
|
autospec: watchexec -w src -w spec -f '**/*.cr' --postpone --on-busy-update=do-nothing -- crystal spec
|