Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the name #15

Merged
merged 3 commits into from
Apr 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 1 addition & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1 @@
# whinge

[![Package Version](https://img.shields.io/hexpm/v/whinge)](https://hex.pm/packages/whinge)
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/whinge/)

```sh
gleam add whinge
```
```gleam
import whinge

pub fn main() {
// TODO: An example of the project in use
}
```

Further documentation can be found at <https://hexdocs.pm/whinge>.

## Development

```sh
gleam run # Run the project
gleam test # Run the tests
gleam shell # Run an Erlang shell
```
# code_review
2 changes: 1 addition & 1 deletion gleam.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name = "whinge"
name = "code_review"
version = "1.0.0"

# Fill out these fields if you intend to generate HTML documentation or publish
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion src/rule.gleam
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import glance
import gleam/option

pub type Rule {
Rule(
Expand Down
6 changes: 3 additions & 3 deletions test/whinge_test.gleam → test/code_review_test.gleam
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import birdie
import code_review
import gleam/list
import gleeunit
import whinge

pub fn main() {
gleeunit.main()
Expand All @@ -11,10 +11,10 @@ pub fn main() {
// while there are lots of moving pieces.
//
pub fn smoke_test() {
let assert Ok(rules) = whinge.run(on: "./snap_dummy")
let assert Ok(rules) = code_review.run(on: "./snap_dummy")
use rule <- list.each(rules)

rule
|> whinge.display_rule_error
|> code_review.display_rule_error
|> birdie.snap(title: rule.path)
}