-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
123 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
# mise description="Check for reflection using clj-check" | ||
|
||
set -o nounset | ||
set -o errexit | ||
set -o pipefail | ||
|
||
check () { | ||
clojure -M:check | ||
} | ||
|
||
check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
# mise description="Check for editorconfig violations using editorconfig-checker" | ||
|
||
set -o nounset | ||
set -o errexit | ||
set -o pipefail | ||
|
||
editorconfig () { | ||
editorconfig-checker | ||
} | ||
|
||
editorconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
# mise description="Install locally" | ||
|
||
set -o nounset | ||
set -o errexit | ||
set -o pipefail | ||
|
||
install () { | ||
clojure -T:build install | ||
} | ||
|
||
install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env bash | ||
# mise description="Lint source code" | ||
# mise depends=["lint:kondo", "lint:splint"] | ||
|
||
set -o nounset | ||
set -o errexit | ||
set -o pipefail |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
# mise description="Lint source code using clj-kondo" | ||
|
||
set -o nounset | ||
set -o errexit | ||
set -o pipefail | ||
|
||
kondo () { | ||
rg -tclojure -tedn --files | xargs clj-kondo --parallel --lint | ||
} | ||
|
||
kondo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
# mise description="Lint source code using splint" | ||
|
||
set -o nounset | ||
set -o errexit | ||
set -o pipefail | ||
|
||
splint () { | ||
clojure -M:splint | ||
} | ||
|
||
splint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
# mise description="Deploy to Clojars" | ||
|
||
set -o nounset | ||
set -o errexit | ||
set -o pipefail | ||
|
||
publish () { | ||
clojure -T:build deploy | ||
} | ||
|
||
publish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
# mise description="Run unit tests" | ||
|
||
set -o nounset | ||
set -o errexit | ||
set -o pipefail | ||
|
||
test () { | ||
clojure -X:test | ||
} | ||
|
||
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
# mise description="Watch source code and run tests accordingly" | ||
|
||
set -o nounset | ||
set -o errexit | ||
set -o pipefail | ||
|
||
test () { | ||
clojure -X:test:watcher | ||
} | ||
|
||
test |
This file was deleted.
Oops, something went wrong.