Skip to content

Commit 0406cb2

Browse files
authored
Mark format_string and format_file with public (fredrikekre#127)
1 parent 113e41f commit 0406cb2

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## Unreleased
99
### Added
1010
- New command line argument `--verbose` which enables verbose output ([#121]).
11+
- The library functions `Runic.format_file` and `Runic.format_string` are now considered
12+
part of the Runic public API and are marked with `public` in supported Julia versions.
13+
([#127]).
1114
### Changed
1215
- Runic is now silent by default. Use `--verbose` to enable the verbose file progress
1316
printing from previous releases ([#121]).

src/Runic.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
module Runic
44

5+
if VERSION >= v"1.11.0-DEV.469"
6+
let str = "public format_file, format_string"
7+
eval(Meta.parse(str))
8+
end
9+
end
10+
511
using JuliaSyntax:
612
JuliaSyntax, @K_str, @KSet_str
713

0 commit comments

Comments
 (0)