Commit Graph

97 Commits

Author SHA1 Message Date
Michael Wolf
e8771f1156 Add shfmt.sh 2024-04-03 11:29:32 -06:00
Michael Wolf
7c503cecf7 Try to do a few things
FIXME: do them correctly; squash and reword this travesty of a commit.
2024-04-03 11:26:50 -06:00
Michael Wolf
1957698fc4 Update years in license 2024-04-03 11:26:36 -06:00
Michael Wolf
970a92def9 Update some docs 2024-04-03 11:26:30 -06:00
Michael Wolf
d16dfaff1f Add doc re new formatters 2024-04-03 11:26:15 -06:00
Michael Wolf
b54ee4a69e Note an obvious error 2024-03-13 09:49:38 -06:00
Michael Wolf
897a91b350 Bake in support for rustfmt 2023-12-07 09:53:21 -06:00
Michael Wolf
5c987ae777 Fix gofmt.sh 2023-09-30 20:59:19 -06:00
Michael Wolf
43688e8615 Add a todo 2023-09-30 20:44:06 -06:00
Michael Wolf
eeee488dde Add/update a lot of documentation 2023-09-30 20:38:00 -06:00
Michael Wolf
87e15f87f3 Teach do-reformat.sh to use the more extensible stuff 2023-09-30 19:05:52 -06:00
Michael Wolf
67027cd612 Be more consistent 2023-09-30 19:05:26 -06:00
Michael Wolf
cb330256d4 Use custom wrapper when it's available 2023-09-30 19:04:39 -06:00
Michael Wolf
2aa478eea6 Move and correct defn
The salient difference is that it uses -x when testing.
2023-09-30 19:04:02 -06:00
Michael Wolf
973b9e4c2f Move wrapper selection into a function 2023-09-30 18:14:47 -06:00
Michael Wolf
9a752a45ba Make shellcheck happier 2023-09-30 18:13:46 -06:00
Michael Wolf
f31cc2d4a2 Create and use dart_format.sh wrapper script 2023-09-30 18:05:36 -06:00
Michael Wolf
50cbaa0454 Remove debug spew and undefined variable 2023-09-30 17:49:00 -06:00
Michael Wolf
7866b6de55 Create and use gofmt.sh wrapper script 2023-09-30 17:48:46 -06:00
Michael Wolf
0273d5762e Fix up prettier wrapper script 2023-09-30 17:33:20 -06:00
Michael Wolf
4c598c589e Instruct shellcheck to follow sourced files 2023-09-30 17:32:55 -06:00
Michael Wolf
358d2a4b14 Make shellcheck happier 2023-09-30 17:32:48 -06:00
Michael Wolf
5d3dc8003e Make shfmt happier 2023-09-30 17:30:15 -06:00
Michael Wolf
9936c641a2 Make shfmt happier 2023-09-30 17:30:07 -06:00
Michael Wolf
ec7c495963 Make shfmt happier 2023-09-30 17:29:34 -06:00
Michael Wolf
1114130e5e Work around non-failure "failure" modes 2023-09-30 17:29:22 -06:00
Michael Wolf
83f4e1c3e6 Make shfmt happier 2023-09-30 17:29:05 -06:00
Michael Wolf
60f934680d Nix some debug output 2023-09-30 17:28:50 -06:00
Michael Wolf
bb9b380382 Get and use PROJECT_ROOT and WF_ROOT early 2023-09-30 17:28:23 -06:00
Michael Wolf
e587f8aebe Install _wrflog.sh 2023-09-30 17:27:53 -06:00
Michael Wolf
555a9b3d7e Make shfmt happier 2023-09-30 17:27:49 -06:00
Michael Wolf
a1aaa08747 Make shfmt happier 2023-09-30 17:27:38 -06:00
Michael Wolf
4b56817b2d Revert "Don't call get_os needlessly"
This reverts commit 08be19fe28.
2023-09-30 17:25:43 -06:00
Michael Wolf
3793a11fbf Use set -e
This is annoying because a lot of times a command will "fail" even though
"failure" isn't an exceptional condition.
2023-09-30 17:21:23 -06:00
Michael Wolf
3d8ba44afd Add some early logging possiblity 2023-09-30 17:20:59 -06:00
Michael Wolf
0414802fa8 Unset variables before running each test 2023-09-30 17:19:54 -06:00
Michael Wolf
4d05d3da71 Add addl wf_root test 2023-09-30 17:19:47 -06:00
Michael Wolf
c2fe100ad9 Nix needless shift stmt 2023-09-30 17:18:47 -06:00
Michael Wolf
5319677a4c Fix wf_root 2023-09-30 17:18:26 -06:00
Michael Wolf
21736cf0a2 Recycle wf_root output 2023-09-30 17:17:58 -06:00
Michael Wolf
fd384a91ea Recycle project_root output 2023-09-30 17:17:00 -06:00
Michael Wolf
08be19fe28 Don't call get_os needlessly 2023-09-30 17:16:50 -06:00
Michael Wolf
ce634e496c Add initial support for custom sniffing 2023-09-30 15:33:25 -06:00
Michael Wolf
3034cd23e8 Fix 2023-09-30 15:32:00 -06:00
Michael Wolf
032f32f132 Make shellcheck happier 2023-09-30 15:30:23 -06:00
Michael Wolf
a5ca80af47 Add scripts to run shellcheck and shfmt 2023-09-30 15:29:37 -06:00
Michael Wolf
7ae2eed832 Make shellcheck happier 2023-09-30 14:57:13 -06:00
Michael Wolf
d6755810e4 Add file for in-process tests
We can just run this file without disabling the other tests manually.
2023-09-30 14:56:03 -06:00
Michael Wolf
7322fc5f71 Make shfmt happier 2023-09-30 14:55:00 -06:00
Michael Wolf
952c7eeb90 Add various utility functions 2023-09-30 14:54:11 -06:00