Bot releases are hidden (Show)
Published by sile almost 3 years ago
efmt_derive
to v0.0.3$ efmt -h
efmt 0.0.7
Erlang Code Formatter
USAGE:
efmt [FLAGS] [OPTIONS] [--] [files]...
FLAGS:
-c, --check Checks if input is formatted correctly
--disable-include Disables `-include` and `-include_lib` processing. This could improve formatting
speed. All unknown macros will be replaced with `EFMT_DUMMY` atom
--disable-include-cache Disables include cache
-h, --help Prints help information
--parallel Executes formatting in parallel
-V, --version Prints version information
--verbose Outputs debug log messages
-w, --write Overwrites input file with the formatted text
OPTIONS:
--include-cache-dir <include-cache-dir>
Where to save the caches for the macro definitions collected during processing `-include` or `-include_lib`
directives [default: .efmt/cache]
-I, --include-search-dir <include-dirs>...
Where to search for include files to process Erlang `-include` directives
--print-width <print-width> Maximum line length [default: 120]
ARGS:
<files>... Format target files
Full Changelog: https://github.com/sile/efmt/compare/0.0.6...0.0.7
Published by sile almost 3 years ago
Full Changelog: https://github.com/sile/efmt/compare/0.0.5...0.0.6
Published by sile almost 3 years ago
Supported formatting the Erlang files included in the OTP 24.1 distribution (except for non-UTF-8 and broken files).
Command (fish shell):
$ cd otp_src_24.1/
# There are 3710 valid Erlang files
$ for f in (ls **.erl | grep -E -v 'sdocbook2xhtml.erl|wxXmlResource.erl|wxTaskBarIcon.erl|wxPrintout.erl|wxListCtrl.erl|ssh_sample_cli.erl|un(_atom)?[1-3].erl|bad_SUITE.erl|no_compile_SUITE.erl|bad_enc.erl|col_lat1.erl|tlatin.erl|snmp_agent_bl_test.erl|snmp_agent_ms_test.erl|snmp_agent_mt_test.erl|snmp_agent_v[1,2,3]_test.erl')
echo $f
env RUST_LOG=error efmt -I (dirname $f) -- $f > /dev/null; or break
end
Full Changelog: https://github.com/sile/efmt/compare/0.0.4...0.0.5
Published by sile almost 3 years ago
erl_tokenize
to v0.4.4
Full Changelog: https://github.com/sile/efmt/compare/0.0.3...0.0.4
Published by sile almost 3 years ago
Changes:
Full Changelog: https://github.com/sile/efmt/compare/0.0.2...0.0.3
Published by sile almost 3 years ago
Minor bug fixes and warning message improvement.
Full Changelog: https://github.com/sile/efmt/compare/0.0.1...0.0.2
Published by sile almost 3 years ago