From 18258716b4193279e806cacbf766931d9ae3ffba Mon Sep 17 00:00:00 2001 From: pacien Date: Fri, 23 Nov 2018 12:30:44 +0100 Subject: Update project --- .gitignore | 5 ++++- alagzip.nimble | 1 - src/main.nim | 17 +++++++++++++++-- tests/nim.cfg | 1 + 4 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 tests/nim.cfg diff --git a/.gitignore b/.gitignore index 9992b50..472e7ee 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,8 @@ *~ nimcache/ -/main +* +!*/ +!*.* +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"] # Dependencies requires "nim >= 0.19.0" - 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 @@ -# This is just an example to get you started. A typical binary package -# uses this file as the main entry point of the application. +# "à-la-gzip" gzip-like LZSS compressor +# Copyright (C) 2018 Pacien TRAN-GIRARD +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . when isMainModule: 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/" -- cgit v1.2.3