-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
50 lines (36 loc) · 1.26 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
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
build-chiseled: ## Builds project
./gradlew chiseledBuild
build-active: ## Builds the active version
./gradlew buildActiveCommon
./gradlew buildActiveFabric
./gradlew buildActiveForge
./gradlew buildActiveNeoForge
merge-jars: ## Builds project
./gradlew mergeJars
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:1.20.1:runClient
run-forge-client: ## Runs forge client
./gradlew :forge:1.20.1:runClient
run-neoforge-client: ## Runs neoforge client
./gradlew neoforge:1.20.1:runClient
run-fabric-server: ## Runs fabric server
./gradlew fabric:1.21.1:runServer
run-forge-server: ## Runs forge server
./gradlew forge:runServer
run-neoforge-server: ## Runs neoforge server
./gradlew neoforge:1.21.1:runServer