-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTaskfile.yml
More file actions
43 lines (40 loc) · 1.04 KB
/
Taskfile.yml
File metadata and controls
43 lines (40 loc) · 1.04 KB
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
# https://taskfile.dev
version: '3'
tasks:
docs:
dir: docs
cmds:
- pnpm install
- pnpm dev
silent: true
build:
cmds:
- ./gradlew clean build
silent: true
run:
cmds:
- ./gradlew clean :core:runServer
silent: true
"run:shop":
cmds:
- ./gradlew clean :core:build --no-build-cache --rerun-tasks -x test
- cp ./core/build/libs/core-*-all.jar ./addons/quickshop-hikari/run/plugins/
- sleep 5 && echo "starting server..."
- ./gradlew clean :addons:quickshop-hikari:runServer
silent: true
"run:quest":
cmds:
- ./gradlew clean :core:build --no-build-cache --rerun-tasks -x test
- cp ./core/build/libs/core-*-all.jar ./addons/betonquest/run/plugins/
- sleep 5 && echo "starting server..."
- ./gradlew clean :addons:betonquest:runServer
clear:
cmds:
- rm ./core/run/**/session.lock
- rm ./addons/**/run/**/session.lock
silent: true
check:
cmds:
- ./gradlew clean ktlintFormat
- task build
silent: false