Skip to content

Commit df20a07

Browse files
committed
Automatize workflow with $ just run
A reader told me about https://github.com/casey/just in https://dev.to/jmfayard/15-command-line-tools-which-spark-joy-in-your-terminal-45ln I tried it and it's good (tm) Usage: $ just run publish to maven local, execute the tests and try the samples out $ just docs $ just ngrok $ just urls
1 parent 71fbc2b commit df20a07

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

justfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
## See https://github.com/casey/just
2+
## Install with $ brew install justfile
3+
run:
4+
cd plugins && ./gradlew check publishToMavenLocal
5+
cd sample-kotlin && ./gradlew refreshVersions
6+
cd sample-groovy && ./gradlew refreshVersions
7+
cd sample-multi-modules && ./gradlew refreshVersions
8+
cd sample-multi-modules && ./gradlew buildSrcVersions
9+
docs:
10+
mkdocs serve &
11+
ngrok: docs
12+
which ngroke || echo "Error: install ngrok with $ brew install ngrok"
13+
ngrok http 80
14+
site:
15+
open https://jmfayard.github.io/refreshVersions/
16+
github:
17+
open https://github.com/jmfayard/refreshVersions/
18+
todos:
19+
open https://github.com/jmfayard/refreshVersions/projects/4
20+
issues:
21+
open https://github.com/jmfayard/refreshVersions/issues
22+
prs:
23+
open https://github.com/jmfayard/refreshVersions/pulls
24+
urls: site github todos issues prs
25+
echo "URLs opened"

0 commit comments

Comments
 (0)