commit 56930ac2a4dd39b60c6a9a8cc3b1cbcba1cbf4ab Author: Stefano Pigozzi Date: Thu Oct 17 02:14:41 2024 +0200 Setup project diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..8bf4d45 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,6 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/fileColors.xml b/.idea/fileColors.xml new file mode 100644 index 0000000..e18d3a2 --- /dev/null +++ b/.idea/fileColors.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/icon.svg b/.idea/icon.svg new file mode 100644 index 0000000..3bd2169 --- /dev/null +++ b/.idea/icon.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..e93d177 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,17 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..2ca2389 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,10 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..e57d5f6 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/scopes/Source.xml b/.idea/scopes/Source.xml new file mode 100644 index 0000000..bc68b2c --- /dev/null +++ b/.idea/scopes/Source.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.media/icon-128x128_round.png b/.media/icon-128x128_round.png new file mode 100644 index 0000000..0db7e76 Binary files /dev/null and b/.media/icon-128x128_round.png differ diff --git a/README.md b/README.md new file mode 100644 index 0000000..4715587 --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +
+ +# ![](.media/icon-128x128_round.png) Dotino Veloce + +Federated Dota 2 match history + +
+ +> [!Warning] +> +> Under active development. \ No newline at end of file diff --git a/deno.json b/deno.json new file mode 100644 index 0000000..63e198a --- /dev/null +++ b/deno.json @@ -0,0 +1,8 @@ +{ + "tasks": { + "dev": "deno run --watch src/main.ts" + }, + "imports": { + "@std/assert": "jsr:@std/assert@1" + } +} diff --git a/dotino-veloce.iml b/dotino-veloce.iml new file mode 100644 index 0000000..8f1c46e --- /dev/null +++ b/dotino-veloce.iml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/src/main.ts b/src/main.ts new file mode 100644 index 0000000..292ce5f --- /dev/null +++ b/src/main.ts @@ -0,0 +1,8 @@ +export function add(a: number, b: number): number { + return a + b; +} + +// Learn more at https://docs.deno.com/runtime/manual/examples/module_metadata#concepts +if (import.meta.main) { + console.log("Add 2 + 3 =", add(2, 3)); +} diff --git a/tests/main_test.ts b/tests/main_test.ts new file mode 100644 index 0000000..b2e5c11 --- /dev/null +++ b/tests/main_test.ts @@ -0,0 +1,6 @@ +import { assertEquals } from "@std/assert"; +import { add } from "../src/main.ts"; + +Deno.test(function addTest() { + assertEquals(add(2, 3), 5); +});