initial commit

This commit is contained in:
Colin Yates 2018-08-06 17:40:06 +01:00
commit 616d834838
10 changed files with 99 additions and 0 deletions

View file

@ -0,0 +1,14 @@
import os, zip/zipfiles
# Hello Nim!
echo "Hello, World!"
proc createZip(rootDir: string) =
let filename = rootDir / "out.gz"
var z: ZipArchive
discard open(z, filename, fmWrite)
for x in walkDirRec(rootDir):
addFile(z, x, x)
close z
createZip("../")