aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpacien2018-11-23 12:30:44 +0100
committerpacien2018-11-23 12:30:44 +0100
commit18258716b4193279e806cacbf766931d9ae3ffba (patch)
treebcd25f69dd49c0ce4850fa01efec105034034797
parent45ad627570ce08efd6ebec1cd0c723438d856894 (diff)
downloadgziplike-18258716b4193279e806cacbf766931d9ae3ffba.tar.gz
Update project
-rw-r--r--.gitignore5
-rw-r--r--alagzip.nimble1
-rw-r--r--src/main.nim17
-rw-r--r--tests/nim.cfg1
4 files changed, 20 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 9992b50..472e7ee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,5 +2,8 @@
2*~ 2*~
3nimcache/ 3nimcache/
4 4
5/main 5*
6!*/
7!*.*
6 8
9settings.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
13requires "nim >= 0.19.0" 13requires "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
4when isMainModule: 17when 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/"