Johannes Altmanninger
5346d3d491
check-all-fish-files: don't glob the entire worktree
...
Commit 22c0054c1e (Add check to test all fish files with -n, 2020-02-17)
added a test that runs "fish --no-execute" on all fish files in share/**.fish
Commit 329cd7d429 (Make functions, completions and tests resilient to
running on an embed-data fish, 2025-03-25) change this to run it on **.fish.
Evidently "the tests are exempt because they contain syntax errors" is no
longer true - this is because we have since changed those files to recursively
run 'fish -c "syntax-error"', which makes it easier to test for multiple
syntax-errors in a single test file. Remove the comment.
Globbing everything seems a bit crass, and there's no explicit
motivation.
$ time find -name '*.fish' >/dev/null
Executed in 431.93 millis
$ time find * -name '*.fish' >/dev/null
Executed in 39.98 millis
Let's go back to testing only directories where we currently have Git-tracked
fish files. This makes uncached "check-all-fish-files.fish" go from 26
seconds to 5 seconds.
2025-06-09 10:28:49 +02:00
..
2019-06-25 22:31:06 +02:00
2025-02-07 12:28:59 +01:00
2025-01-26 20:30:48 -08:00
2025-03-13 18:13:10 +01:00
2024-04-12 12:28:22 +02:00
2025-01-26 20:30:48 -08:00
2025-05-29 17:57:38 +02:00
2024-04-12 12:28:22 +02:00
2025-01-01 16:45:43 +01:00
2025-04-03 00:51:35 +02:00
2025-05-11 22:00:43 +02:00
2025-01-01 16:45:43 +01:00
2024-12-29 13:37:28 +01:00
2025-03-13 18:13:10 +01:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2025-01-01 16:45:43 +01:00
2025-06-09 10:28:49 +02:00
2025-01-01 16:45:43 +01:00
2025-05-28 15:32:13 +02:00
2025-03-19 18:26:11 +01:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2019-11-02 16:48:08 -07:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2025-01-15 11:18:46 +01:00
2024-04-12 12:28:22 +02:00
2025-05-11 12:46:08 +02:00
2025-01-11 21:13:19 +01:00
2025-01-01 16:45:43 +01:00
2025-05-11 12:46:08 +02:00
2025-05-29 17:57:38 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2025-02-27 10:33:22 +08:00
2024-04-12 12:28:22 +02:00
2025-01-01 16:45:43 +01:00
2024-04-12 12:28:22 +02:00
2025-01-01 16:45:43 +01:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2025-01-01 16:45:43 +01:00
2025-01-19 18:47:28 +01:00
2024-04-12 12:28:22 +02:00
2025-03-13 18:13:10 +01:00
2025-05-04 18:19:42 +02:00
2025-01-01 16:45:43 +01:00
2025-01-01 16:45:43 +01:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2025-02-02 13:41:43 +01:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-06-06 16:47:39 +02:00
2025-01-01 16:45:43 +01:00
2024-04-12 12:28:22 +02:00
2024-05-25 13:20:05 +02:00
2024-05-06 17:00:45 +02:00
2025-04-11 17:29:22 +02:00
2025-04-11 17:29:22 +02:00
2025-03-25 11:16:18 +01:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2025-05-11 22:00:43 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2025-01-01 16:45:43 +01:00
2025-04-18 20:22:30 +02:00
2025-01-01 16:45:43 +01:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2025-01-19 18:29:07 +01:00
2025-01-01 16:45:43 +01:00
2025-01-01 16:45:43 +01:00
2024-09-18 22:27:00 +02:00
2025-04-11 17:29:22 +02:00
2025-01-01 16:45:43 +01:00
2024-04-25 21:52:56 +02:00
2025-03-13 18:13:10 +01:00
2024-04-13 15:33:05 +02:00
2025-06-05 14:10:47 +02:00
2025-01-01 16:45:43 +01:00
2024-04-12 12:28:22 +02:00
2025-03-13 18:13:10 +01:00
2025-05-03 22:53:27 +02:00
2024-04-12 12:28:22 +02:00
2025-03-22 14:12:54 +01:00
2024-12-02 19:06:14 +01:00
2025-01-01 16:45:43 +01:00
2025-04-16 11:24:33 +02:00
2024-04-12 12:28:22 +02:00
2024-04-21 14:35:13 +02:00
2024-04-12 12:28:22 +02:00
2025-01-11 21:13:19 +01:00
2025-03-13 18:13:10 +01:00
2024-04-12 12:28:22 +02:00
2025-05-11 22:55:48 +02:00
2025-01-11 21:13:19 +01:00
2024-04-12 12:28:22 +02:00
2025-01-01 16:45:43 +01:00
2025-01-01 16:45:43 +01:00
2025-01-01 16:45:43 +01:00
2024-04-12 12:28:22 +02:00
2024-10-13 10:44:38 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2025-01-01 16:45:43 +01:00
2025-05-20 12:32:22 +02:00
2024-04-12 12:28:22 +02:00
2025-04-29 13:31:13 +02:00
2025-05-01 14:57:30 +02:00
2025-02-02 13:41:43 +01:00
2025-03-13 18:13:10 +01:00
2024-04-21 14:25:54 +02:00
2024-04-21 14:25:54 +02:00
2024-04-12 12:28:22 +02:00
2025-03-13 18:13:10 +01:00
2025-04-02 01:05:51 +02:00
2025-01-17 09:58:26 +01:00
2025-01-15 10:52:43 +01:00
2024-04-12 12:28:22 +02:00
2025-03-08 13:12:38 +01:00
2025-02-16 11:44:43 -08:00
2024-12-30 10:50:38 +01:00
2025-02-04 10:12:30 +01:00
2025-02-16 13:02:23 -08:00
2025-01-11 18:58:49 +01:00
2025-05-29 17:57:38 +02:00
2025-01-08 19:10:38 +01:00
2025-02-21 17:46:26 +01:00
2025-02-06 19:12:00 +01:00
2025-03-21 00:53:06 +01:00
2025-01-31 13:37:27 +01:00
2025-02-01 09:25:53 +01:00
2025-01-19 18:29:07 +01:00
2024-04-19 12:05:27 +02:00
2025-04-16 11:22:14 +02:00
2025-05-13 00:01:11 +02:00
2025-05-04 12:50:12 +02:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00
2025-01-26 20:30:48 -08:00
2025-04-11 17:29:22 +02:00
2025-01-01 16:45:43 +01:00
2025-01-01 16:45:43 +01:00
2025-01-19 18:34:59 +01:00
2025-01-01 16:45:43 +01:00
2025-03-15 10:54:12 +01:00
2024-04-12 12:28:22 +02:00
2025-01-01 16:45:43 +01:00
2024-04-12 12:28:22 +02:00
2024-04-12 12:28:22 +02:00