Commit Graph

43 Commits

Author SHA1 Message Date
Astro
f5ef795420 .github/workflows/checks.yml: split cargo build --release 2021-12-09 17:29:31 +01:00
Astro
483a73291a .github/workflows/checks.yml: fix upload-artifact args 2021-12-09 17:26:42 +01:00
Astro
0022899cbc .github/workflows/checks.yml: add build with actions/upload-artifact 2021-12-09 17:25:23 +01:00
Astro
babc230b91 .github/workflows/checks.yml: copy action-rs quickstart 2021-12-09 17:15:26 +01:00
Astro
dd04c4bf35 flake.nix: switch from mozillapkgs to fenix 2021-12-09 16:44:31 +01:00
Astro
3bab18e097 add rustfmt, apply suggestions 2021-12-09 15:55:22 +01:00
Astro
a483b1d42c add clippy, apply suggestions 2021-12-09 15:54:09 +01:00
Astro
de62a3a4e4 main: find .nix files recursively 2021-12-08 19:17:09 +01:00
Astro
96a06966bc scope: add inherits_from() to treat inherit clauses specially 2021-12-08 17:50:41 +01:00
Astro
236876b13f Revert "scope: remove broken RecAttrSet for now"
This reverts commit 5a15a18abd.
2021-12-08 17:30:20 +01:00
Astro
600a0da972 edit: replace lambda args with prepended underscore 2021-12-08 04:05:43 +01:00
Astro
cdfdaf096c dead_code_tests: add let_inherit_in_rec_attrset_alive() 2021-12-08 03:49:19 +01:00
Astro
5a15a18abd scope: remove broken RecAttrSet for now 2021-12-08 03:48:58 +01:00
Astro
c83b6e41fc scope: filter RecAttrSet for keys that are Ident 2021-12-08 03:44:49 +01:00
Astro
b442d3f92e README: to boldly go where no evaluation has gone before 2021-12-08 01:37:23 +01:00
Astro
2259c36eff README: fix usage 2021-12-08 01:36:01 +01:00
Astro
64f6ac269f README: Usage 2021-12-08 01:34:04 +01:00
Astro
4c624453a1 report: micro-refactor output 2021-12-08 01:30:00 +01:00
Astro
3faa57f165 implement editing source files 2021-12-08 01:15:28 +01:00
Astro
c60397ecd3 main: add quiet mode 2021-12-08 01:15:03 +01:00
Astro
d5f2da02fc main: use version from $CARGO_PKG_VERSION 2021-12-08 01:14:21 +01:00
Astro
ad1329cf12 implement no_lambda_arg+no_underscore options 2021-12-07 22:10:44 +01:00
Astro
452759a13d main: refactor into report 2021-12-07 21:41:59 +01:00
Astro
a31782a51d scope: add RecAttrSet 2021-12-07 21:15:39 +01:00
Astro
e754ef4e7f usage: become aware of shadowed bindings 2021-12-07 20:58:24 +01:00
Astro
99ea26c6ee dead_code_tests: add lambda_at_pattern_alive() 2021-12-07 20:25:20 +01:00
Astro
3aac2dea11 binding: add is_mortal() to avoid reporting _: and lambda patterns without ellipsis 2021-12-07 20:19:11 +01:00
Astro
5cc971bf16 dead_code: loop to find unused code recursively 2021-12-07 20:07:52 +01:00
Astro
9c48ee09a1 main: underline name.node() not the whole node 2021-12-07 19:24:06 +01:00
Astro
91a1cec2b3 refactor into binding and scope 2021-12-07 19:06:21 +01:00
Astro
af2a29cad6 README: extend 2021-12-07 00:53:39 +01:00
Astro
773345bbbe dead_code_tests: add more alive tests 2021-12-07 00:52:35 +01:00
Astro
7d4d52be15 flake.nix: remove zombie code 2021-12-06 21:58:51 +01:00
Astro
2db913eb15 dead_code: fix LambdaArg 2021-12-06 21:58:25 +01:00
Astro
00c3d33e79 dead_code_tests: init 2021-12-06 21:58:02 +01:00
Astro
546f0711e9 dead_code: don't pass in results 2021-12-06 03:28:58 +01:00
Astro
5237687b0b split into multiple files 2021-12-06 01:23:07 +01:00
Astro
e99eb7358e flake.nix: remove dead code 2021-12-06 01:10:27 +01:00
Astro
f11f4a8667 main: use rev for messages 2021-12-06 01:10:16 +01:00
Astro
2cfc34f0f8
LICENSE: add 2021-12-06 00:13:14 +01:00
Astro
fd11fe0fe8 README: syntax 2021-12-06 00:12:19 +01:00
Astro
840ffc6fb9 README: init 2021-12-06 00:09:45 +01:00
Astro
9fdad3260a PoC 2021-12-06 00:04:52 +01:00