Skip to content

Commit 055a7ec

Browse files
committed
chore(just): add justfile with sort target
1 parent ce66695 commit 055a7ec

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ If you would like to propose a new application configuration rule for
7676
consideration, please open an issue with the rules you are proposing in a code
7777
block rather than a PR.
7878

79+
When submitting a PR, make sure you have `jq` and `just` installed, and run
80+
`just sort` to ensure that all entries in `applications.json` are sorted
81+
correctly.
82+
7983
## FAQs
8084

8185
### I am a new komorebi user and I want to add different rules for various applications

justfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
set windows-shell := ["pwsh.exe", "-NoLogo", "-Command"]
2+
3+
sort:
4+
jq -f filter.jq .\applications.json > .\applications.sorted.json
5+
mv .\applications.sorted.json .\applications.json -Force

0 commit comments

Comments
 (0)