Add java prettier

This commit is contained in:
2026-01-05 14:34:03 +01:00
parent 2cb1b5a9c1
commit c26285ff9a
4 changed files with 117 additions and 3 deletions

View File

@@ -15,6 +15,9 @@ RUNTIME_ENV = IMGFLOAT_ASSETS_PATH=$(IMGFLOAT_ASSETS_PATH) \
SPRING_SERVLET_MULTIPART_MAX_REQUEST_SIZE=$(SPRING_SERVLET_MULTIPART_MAX_REQUEST_SIZE)
WATCHDIR = ./src/main
node_modules: package-lock.json
npm install
.PHONY: build
build:
mvn compile
@@ -46,3 +49,7 @@ ssl:
keytool -genkeypair -alias imgfloat -keyalg RSA -keystore local/keystore.p12 -storetype PKCS12 -storepass changeit -keypass changeit -dname "CN=localhost" -validity 365
echo "Use SSL_ENABLED=true SSL_KEYSTORE_PATH=file:$$PWD/local/keystore.p12"
.PHONY: fix
fix: node_modules
./node_modules/.bin/prettier --write src