Skip to content

Commit

Permalink
Add ./bin/amber_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
westonganger committed Jan 31, 2019
1 parent a835198 commit 04739a7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -104,7 +104,7 @@ Amber is a community effort and we want You to be part of it. [Join Amber Commun

1. Fork it https://github.com/amberframework/amber/fork
2. Create your feature branch `git checkout -b my-new-feature`
3. Write and execute specs `crystal spec`
3. Write and execute specs and formatting checks `./bin/amber_spec`
4. Commit your changes `git commit -am 'Add some feature'`
5. Push to the branch `git push origin my-new-feature`
6. Create a new Pull Request
Expand Down
10 changes: 10 additions & 0 deletions bin/amber_spec
@@ -0,0 +1,10 @@
#!/bin/sh

echo "Running './ameba':"
$(dirname "$0")/ameba

echo "\nRunning 'crystal tool --format --check':"
crystal tool format --check

echo "\nRunning 'crystal spec':"
crystal spec

0 comments on commit 04739a7

Please sign in to comment.