mirror of
https://github.com/corda/corda.git
synced 2024-12-28 00:38:55 +00:00
30 lines
797 B
Makefile
30 lines
797 B
Makefile
|
.PHONY: host host-native docs clean \
|
||
|
unit-tests integration-tests
|
||
|
|
||
|
# === GENERAL PARAMETERS ==========================================================================
|
||
|
|
||
|
SHELL = /bin/bash
|
||
|
MAKEFILE_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
||
|
GRADLE_HOME ?= $(MAKEFILE_DIR)/../.gradle/
|
||
|
GRADLE ?= $(MAKEFILE_DIR)/../gradlew -g $(GRADLE_HOME)
|
||
|
|
||
|
# === PSEUDO TARGETS ==============================================================================
|
||
|
|
||
|
host:
|
||
|
$(GRADLE) compileKotlin
|
||
|
|
||
|
host-native:
|
||
|
make -C native all
|
||
|
|
||
|
docs:
|
||
|
$(GRADLE) cleanDokka dokka
|
||
|
|
||
|
unit-tests:
|
||
|
$(GRADLE) --rerun-tasks -q -Pdebug=$(DEBUG) test
|
||
|
|
||
|
integration-tests:
|
||
|
$(GRADLE) --rerun-tasks -q -Pdebug=$(DEBUG) integrationTest
|
||
|
|
||
|
clean:
|
||
|
$(GRADLE) clean
|