Add instructions regarding kotlin native build

This commit is contained in:
p1ng0ut 2023-01-22 17:16:25 +01:00
parent d2b3cb8c41
commit d7b11c59db
2 changed files with 28 additions and 15 deletions

View File

@ -1,27 +1,39 @@
# Kotlin Course
# Dezentrale Kotlin Course
## Build The Documentation
This repository contains some examples and slides built
with [reveal-md.js](https://github.com/webpro/reveal-md "link to the git repository of the reveal md project").
To view the slides, the following command must be executed with
the [node package manager (npm)](https://nodejs.org/en/download/package-manager/) [^1]:
```bash
```shell
npm install -g reveal-md
```
Um anschlie
execute the following command:
```bash
reveal-md docs/index.md
```
To be able to execute the command afterwards, we have to make the path known. This can be done
either once with an
To be able to execute the command afterwards, we have to make the path known. This can be done either once with an
```bash
```shell
export PATH=<path_to_reval_md_bin_path>:$PATH
```
or by adding this path to `~/.profile`
or by adding this path to `~/.profile`. When this is done, you can execute the command:
```shell
reveal-md docs/index.md
```
## Kotlin Native Build
To compile this project natively, you have to go to the [current Kotlin release page](https://github.com/JetBrains/kotlin/releases) (currently
version 1.8.0) and download the distribution
that fits your operating system (you have to scroll down a bit). and download the
distribution that fits your operating system (you have to scroll down a bit).
```shell
kotlinc-native src/nativeMain/kotlin/Main.kt -o build/Main
```
[^1]: A tutorial for the installation can be found at
the [link](https://nodejs.org/en/download/package-manager/) above.

View File

@ -2,17 +2,18 @@
title: Dezentrale Kotlin Course
separator: <!--s-->
verticalSeparator: <!--v-->
theme: moon
theme: night
revealOptions:
transition: 'fade'
---
# Dezentrale Kotlin Course
# Kotlin Course
---
## Kotlin language basics
## Kotlin Language Basics
Kotlin is a...
- multiplatform programming language
- its penis is bigger as any other
-