-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
38 lines (27 loc) · 980 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
help: ## Prints help for targets with comments
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
build-project: ## Builds project
./gradlew build
refresh: ## Refresh dependencies
./gradlew --refresh-dependencies
clean-cache: ## Cleans cache
./gradlew --stop
rm -rf $GRADLE_HOME/caches/transforms-*
rm -rf $GRADLE_HOME/caches/build-cache-*
./gradlew clean
stop: ## Stops all deamons
./gradlew --stop
gen-sources: ## Generate sources
./gradlew genSources
run-fabric-client: ## Runs fabric client
./gradlew fabric:runClient
run-forge-client: ## Runs forge client
./gradlew forge:runClient
run-neoforge-client: ## Runs neoforge client
./gradlew neoforge:runClient
run-fabric-server: ## Runs fabric server
./gradlew fabric:runServer
run-forge-server: ## Runs forge server
./gradlew forge:runServer
run-neoforge-server: ## Runs neoforge server
./gradlew neoforge:runServer