From e06e465de0ebb8f45a9b0a6b8e800e895926e164 Mon Sep 17 00:00:00 2001 From: Ilya Matveev Date: Thu, 25 May 2017 16:40:03 +0700 Subject: [PATCH] samples: Add README.md in root samples dir --- samples/README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 samples/README.md diff --git a/samples/README.md b/samples/README.md new file mode 100644 index 00000000000..926885b8d88 --- /dev/null +++ b/samples/README.md @@ -0,0 +1,20 @@ +# Samples + +This directory contains a set of samples demonstrating how one can work with Kotlin/Native. The samples can be +built using either command line tools (via `build.sh` script presented in each sample directory) or using a gradle build. +See `README.md` in sample directories to learn more about specific samples and the building process. + +**Note**: If the samples are built from a source tree (not from a distribution archive) the compiler and the gradle +plugin built from the sources are used. + +One may also build all the samples with one command. To build them using the command line tools run: + + ./build.sh + +To build all the samples using the gradle build: + + ./gradlew build + +One also may launch the command line build via a gradle task `buildSh` (equivalent of `./build.sh` executing): + + ./gradlew buildSh