From e18f54c977f325aacab834a331bf5fa09719c5d8 Mon Sep 17 00:00:00 2001 From: Aire-One Date: Sun, 30 Jan 2022 13:53:33 +0100 Subject: [PATCH] init --- .gitignore | 1 + build/.gitkeep | 0 src/calculon/init.tl | 7 +++++++ tlconfig.lua | 4 ++++ 4 files changed, 12 insertions(+) create mode 100644 .gitignore create mode 100644 build/.gitkeep create mode 100644 src/calculon/init.tl create mode 100644 tlconfig.lua diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d163863 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build/ \ No newline at end of file diff --git a/build/.gitkeep b/build/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/src/calculon/init.tl b/src/calculon/init.tl new file mode 100644 index 0000000..da9387a --- /dev/null +++ b/src/calculon/init.tl @@ -0,0 +1,7 @@ +local function add(a: number, b: number): number + return a + b +end + +return { + add = add +} \ No newline at end of file diff --git a/tlconfig.lua b/tlconfig.lua new file mode 100644 index 0000000..220d8bb --- /dev/null +++ b/tlconfig.lua @@ -0,0 +1,4 @@ +return { + build_dir = "build", + source_dir = "src", +} \ No newline at end of file