Skip to content

Commit

Permalink
Mark format_string and format_file with public (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre authored Dec 17, 2024
1 parent 113e41f commit 0406cb2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
### Added
- New command line argument `--verbose` which enables verbose output ([#121]).
- The library functions `Runic.format_file` and `Runic.format_string` are now considered
part of the Runic public API and are marked with `public` in supported Julia versions.
([#127]).
### Changed
- Runic is now silent by default. Use `--verbose` to enable the verbose file progress
printing from previous releases ([#121]).
Expand Down
6 changes: 6 additions & 0 deletions src/Runic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

module Runic

if VERSION >= v"1.11.0-DEV.469"
let str = "public format_file, format_string"
eval(Meta.parse(str))
end
end

using JuliaSyntax:
JuliaSyntax, @K_str, @KSet_str

Expand Down

0 comments on commit 0406cb2

Please sign in to comment.