-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTaskfile.yml
More file actions
46 lines (36 loc) · 797 Bytes
/
Taskfile.yml
File metadata and controls
46 lines (36 loc) · 797 Bytes
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
version: '3'
silent: true
tasks:
build:
desc: Builds the application
cmds:
- cmd: mvn compile
clean:
desc: Cleans built artefacts
cmds:
- cmd: rm -rf log
- cmd: mvn clean
container:
desc: Rebuilds the Docker container
cmds:
- cmd: ./scripts/container.sh
composer:
desc: Rebuilds the Docker container using docker-compose
cmds:
- cmd: ./scripts/composer.sh
package:
desc: Packages the application
cmds:
- cmd: mvn package
test:
desc: Executes all tests
cmds:
- cmd: mvn test
run:
desc: Runs the server locally using Maven
cmds:
- cmd: mvn compile exec:java
serve:
desc: Starts the server locally from JAR
cmds:
- cmd: java -jar ./target/server-1.0.0.jar