diff options
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | alagzip.nimble | 1 | ||||
-rw-r--r-- | src/main.nim | 17 | ||||
-rw-r--r-- | tests/nim.cfg | 1 |
4 files changed, 20 insertions, 4 deletions
@@ -2,5 +2,8 @@ | |||
2 | *~ | 2 | *~ |
3 | nimcache/ | 3 | nimcache/ |
4 | 4 | ||
5 | /main | 5 | * |
6 | !*/ | ||
7 | !*.* | ||
6 | 8 | ||
9 | settings.json | ||
diff --git a/alagzip.nimble b/alagzip.nimble index bc39a34..0db8cf4 100644 --- a/alagzip.nimble +++ b/alagzip.nimble | |||
@@ -11,4 +11,3 @@ bin = @["main"] | |||
11 | # Dependencies | 11 | # Dependencies |
12 | 12 | ||
13 | requires "nim >= 0.19.0" | 13 | requires "nim >= 0.19.0" |
14 | |||
diff --git a/src/main.nim b/src/main.nim index 862d40c..a72e0c3 100644 --- a/src/main.nim +++ b/src/main.nim | |||
@@ -1,5 +1,18 @@ | |||
1 | # This is just an example to get you started. A typical binary package | 1 | # "à-la-gzip" gzip-like LZSS compressor |
2 | # uses this file as the main entry point of the application. | 2 | # Copyright (C) 2018 Pacien TRAN-GIRARD |
3 | # | ||
4 | # This program is free software: you can redistribute it and/or modify | ||
5 | # it under the terms of the GNU Affero General Public License as | ||
6 | # published by the Free Software Foundation, either version 3 of the | ||
7 | # License, or (at your option) any later version. | ||
8 | # | ||
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU Affero General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU Affero General Public License | ||
15 | # along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
3 | 16 | ||
4 | when isMainModule: | 17 | when isMainModule: |
5 | echo("Hello, World!") | 18 | echo("Hello, World!") |
diff --git a/tests/nim.cfg b/tests/nim.cfg new file mode 100644 index 0000000..85bf6c4 --- /dev/null +++ b/tests/nim.cfg | |||
@@ -0,0 +1 @@ | |||
--path:"../src/" | |||