Skip to content

Commit c6bb60e

Browse files
committed
Move dev scripts to a Makefile
1 parent 1780f7c commit c6bb60e

File tree

8 files changed

+27
-28
lines changed

8 files changed

+27
-28
lines changed

Makefile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.PHONY: all clean
2+
3+
all: build
4+
5+
clean:
6+
cd sonar-plugin && mvn clean
7+
8+
build: clean
9+
cd sonar-plugin && mvn package -DskipTests
10+
11+
compile: clean
12+
cd sonar-plugin && mvn compile
13+
14+
docker-clean:
15+
docker compose down --volumes
16+
17+
docker-init:
18+
docker compose up --build -d
19+
20+
docker-logs:
21+
docker compose logs -f
22+
23+
start:
24+
docker compose start
25+
26+
stop:
27+
docker compose stop

tools/build.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

tools/compile.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

tools/docker-clean.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

tools/docker-init.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

tools/docker-logs.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

tools/start.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

tools/stop.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)