-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
524 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Check if the version used by the runner is currently the last supported | ||
# version, that is: the version used in the Nix shell on development machines. | ||
last_supported_version? = | ||
System.version() | ||
|> Version.parse!() | ||
|> Version.match?("~> 1.10.0") | ||
|
||
[ | ||
skipped: false, | ||
tools: [ | ||
{:compiler, "mix compile --force --verbose --warnings-as-errors"}, | ||
{:ex_unit, "mix test --trace"}, | ||
|
||
# Run the formatter and ex_doc only for the last supported version. This | ||
# avoids errors in CI when the formatting changes or ex_doc is not | ||
# compatible with an old Elixir version. | ||
{:formatter, last_supported_version?}, | ||
{:ex_doc, last_supported_version?}, | ||
|
||
# Check for unused dependencies in the mix.lock. | ||
{:unused_deps, "mix deps.unlock --check-unused", | ||
enabled: last_supported_version?} | ||
] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,17 @@ | ||
# Changelog | ||
|
||
## 0.1.0-dev | ||
All notable changes to this project will be documented in this file. | ||
|
||
* Initial version | ||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic | ||
Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [0.1.0] - 2020-05-31 | ||
|
||
### Added | ||
|
||
* Generate lens functions for each field in the typed struct | ||
* Optionally generate private lens functions | ||
* Optionally prefix or postfix the generated function names | ||
|
||
[0.1.0]: https://github.com/ejpcmac/typed_struct_lens/releases/tag/v0.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.