mirror of
https://github.com/imgfloat/server.git
synced 2026-02-05 03:39:26 +00:00
Add java prettier
This commit is contained in:
7
Makefile
7
Makefile
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user