-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathjustfile
62 lines (42 loc) · 2.18 KB
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
set windows-shell := ["powershell.exe", "-NoLogo", "-Command"]
projectName := "sjsls"
default:
just --list
setupIde:
./mill mill.bsp.BSP/install
compile:
./mill {{projectName}}.compile
test:
./mill {{projectName}}.test.testOnly io.github.quafadas.sjsls.SafariSuite && mill {{projectName}}.test.testOnly io.github.quafadas.sjsls.RoutesSuite && mill {{projectName}}.test.testOnly io.github.quafadas.sjsls.UtilityFcs
checkOpts:
./mill {{projectName}}.run --help
jvmServe:
./mill -w {{projectName}}.runBackground --build-tool scala-cli --project-dir /Users/simon/Code/indigoLite --log-level info --browse-on-open-at / --path-to-index-html /Users/simon/Code/indigoLite/static
proxy:
./mill -w {{projectName}}.runBackground --project-dir /Users/simon/Code/viteless --port 3006 --proxy-prefix-path /api --proxy-target-port 8080 --log-level trace
goViteless:
./mill -w {{projectName}}.run --project-dir /Users/simon/Code/viteless --styles-dir /Users/simon/Code/viteless/styles
jvmServeNoStyles:
./mill {{projectName}}.run --build-tool scala-cli --project-dir /Users/simon/Code/helloScalaJs --out-dir /Users/simon/Code/helloScalaJs/out --log-level trace
jvmLinker:
./mill {{projectName}}.run --build-tool scala-cli --project-dir /Users/simon/Code/helloScalaJs --out-dir /Users/simon/Code/helloScalaJs/out --extra-build-args --js-cli-on-jvm --port 3007
serveMill:
./mill {{projectName}}.run --build-tool mill --project-dir /Users/simon/Code/mill-full-stack/mill-full-stack \
--path-to-index-html /Users/simon/Code/mill-full-stack/mill-full-stack/frontend/ui \
--out-dir /Users/simon/Code/mill-full-stack/mill-full-stack/out/frontend/fastLinkJS.dest \
--log-level info \
--port 3007 \
--mill-module-name frontend \
--proxy-prefix-path /api \
--proxy-target-port 8080
setupPlaywright:
cs launch com.microsoft.playwright:playwright:1.45.0 -M "com.microsoft.playwright.CLI" -- install --with-deps
publishLocal:
./mill __.publishLocal
setupMill:
curl -L https://raw.githubusercontent.com/lefou/millw/0.4.11/millw > mill && chmod +x mill
format:
./mill mill.scalalib.scalafmt.ScalafmtModule/reformatAll __.sources
fix:
./mill __.fix
gha: setupMill setupPlaywright test