diff --git a/README.md b/README.md index c952426..6c44cd0 100644 --- a/README.md +++ b/README.md @@ -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 . - -## Development - -```sh -gleam run # Run the project -gleam test # Run the tests -gleam shell # Run an Erlang shell -``` +# code_review diff --git a/gleam.toml b/gleam.toml index 0997b8a..c4cc099 100644 --- a/gleam.toml +++ b/gleam.toml @@ -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 diff --git a/src/whinge.gleam b/src/code_review.gleam similarity index 100% rename from src/whinge.gleam rename to src/code_review.gleam diff --git a/src/rule.gleam b/src/rule.gleam index 9b649ac..5590c75 100644 --- a/src/rule.gleam +++ b/src/rule.gleam @@ -1,5 +1,4 @@ import glance -import gleam/option pub type Rule { Rule( diff --git a/test/whinge_test.gleam b/test/code_review_test.gleam similarity index 71% rename from test/whinge_test.gleam rename to test/code_review_test.gleam index 9bbd105..ad607a7 100644 --- a/test/whinge_test.gleam +++ b/test/code_review_test.gleam @@ -1,7 +1,7 @@ import birdie +import code_review import gleam/list import gleeunit -import whinge pub fn main() { gleeunit.main() @@ -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) }