Commit 0fd4bb4
chore: replace dev-deps with per-tool check targets (#2149)
When developing locally I always comment out dev-deps due to the failed
soda command. Today I did a grepped through the repo and it seems soda
is no longer used.
- Remove unused `soda` command
- Could not find any reference to this
- Remove `dev-deps` target that installed all cmds
- Add dedicated check targets:
- `check-gosec` installs gosec if missing
- `check-staticcheck` installs staticcheck if missing
- `check-exhaustive` installs exhaustive if missing
- `check-oapi-codegen` installs oapi-codegen if missing
- Update existing targets to depend on new check targets:
- `sec` depends on `check-gosec`
- `unused` depends on `check-staticcheck`
- `static` depends on `check-staticcheck` and `check-exhaustive`
- `generate` depends on `check-oapi-codegen`
- Adjust `.PHONY` declarations to include new check targets
---------
Co-authored-by: Chris Stockton <[email protected]>1 parent b118f1f commit 0fd4bb4
1 file changed
+22
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 37 | | |
44 | 38 | | |
45 | 39 | | |
| |||
57 | 51 | | |
58 | 52 | | |
59 | 53 | | |
60 | | - | |
| 54 | + | |
61 | 55 | | |
62 | 56 | | |
63 | 57 | | |
64 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
65 | 63 | | |
66 | 64 | | |
67 | | - | |
68 | 65 | | |
69 | | - | |
70 | 66 | | |
71 | 67 | | |
72 | 68 | | |
73 | | - | |
| 69 | + | |
74 | 70 | | |
75 | 71 | | |
76 | 72 | | |
77 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
78 | 82 | | |
79 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
80 | 88 | | |
81 | 89 | | |
82 | 90 | | |
| |||
0 commit comments