Skip to content

Commit

Permalink
Move dev scripts to a Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
utarwyn committed Jan 22, 2025
1 parent 3341e31 commit 9198fcb
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 28 deletions.
27 changes: 27 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.PHONY: all clean

all: build

clean:
cd sonar-plugin && mvn clean

build: clean
cd sonar-plugin && mvn package -DskipTests

compile: clean
cd sonar-plugin && mvn compile

docker-clean:
docker compose down --volumes

docker-init:
docker compose up --build -d

docker-logs:
docker compose logs -f

start:
docker compose start

stop:
docker compose stop
4 changes: 0 additions & 4 deletions tools/build.sh

This file was deleted.

4 changes: 0 additions & 4 deletions tools/compile.sh

This file was deleted.

4 changes: 0 additions & 4 deletions tools/docker-clean.sh

This file was deleted.

4 changes: 0 additions & 4 deletions tools/docker-init.sh

This file was deleted.

4 changes: 0 additions & 4 deletions tools/docker-logs.sh

This file was deleted.

4 changes: 0 additions & 4 deletions tools/start.sh

This file was deleted.

4 changes: 0 additions & 4 deletions tools/stop.sh

This file was deleted.

0 comments on commit 9198fcb

Please sign in to comment.