Skip to content

Commit

Permalink
Merge pull request #5 from KBTG-Kampus-ClassNest-SE-Java/feature/story3
Browse files Browse the repository at this point in the history
edit make file
  • Loading branch information
peth12 authored Mar 31, 2024
2 parents 12aedf5 + 1c6bc52 commit cfce19c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions kbazaar/makefile
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
build: clean
gradlew build
./gradlew build

setup:
pre-commit install --hook-type pre-commit --config ../.pre-commit-config.yaml
pre-commit install --hook-type pre-push --config ../.pre-push-config.yaml

clean:
gradlew clean
./gradlew clean

run:
gradlew bootRun
./gradlew bootRun

test:
gradlew clean && gradlew test
./gradlew clean && ./gradlew test

test-it:
gradlew clean && gradlew test-it
./gradlew clean && ./gradlew test-it

test-cover:
gradlew clean && gradlew test jacocoTestReport
./gradlew clean && ./gradlew test jacocoTestReport

format:
gradlew spotlessApply
./gradlew spotlessApply

format-check:
gradlew spotlessCheck
./gradlew spotlessCheck

sonar:
gradlew build sonar --info
./gradlew build sonar --info

health:
curl -X GET http://localhost:8080/api/v1/health
Expand All @@ -39,4 +39,4 @@ docker-build:
docker build -t kbazaar .

docker-run:
docker run -p 8080:8080 kbazaar
docker run -p 8080:8080 kbazaar

0 comments on commit cfce19c

Please sign in to comment.