Skip to content

Commit

Permalink
Merge pull request #22 from dimitrilw/17-spin-forumula-test-rebase
Browse files Browse the repository at this point in the history
Update Spin formula to test version
  • Loading branch information
kate-goldenring authored Nov 14, 2023
2 parents 90208f9 + 2c9cba1 commit cbc66f5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
steps_output.txt
2 changes: 1 addition & 1 deletion Formula/bart.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ def install
end

test do
assert_match "bart 0.9.0", shell_output("#{bin}/bart --version")
assert shell_output("#{bin}/bart --version").start_with?("bart #{version}")
end
end
2 changes: 1 addition & 1 deletion Formula/spin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ def post_install
end

test do
system "#{bin}/spin", "--version"
assert shell_output("#{bin}/spin --version").start_with?("spin #{version}")
end
end
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,12 @@
## Documentation

`brew help`, `man brew` or check [Homebrew's documentation](https://docs.brew.sh).

## Contributing

Contributors are encouraged to run Homebrew's test-bot locally before submitting
a pull request.

```sh
brew test-bot --only-tap-syntax
```

0 comments on commit cbc66f5

Please sign in to comment.