nimble/common.nim
Dominik Picheta 07b7f46fd6 Implemented download of packages residing in mercurial repos.
* Moved download handling code into a download module.
* Documented how versioning works for repos (via tags).
* More info during install about what tag is picked.
* Refactored download code to be more generic.
2013-07-26 23:58:25 +01:00

15 lines
No EOL
314 B
Nim

# Copyright (C) Dominik Picheta. All rights reserved.
# BSD License. Look at license.txt for more info.
import os, osproc
type
EBabel* = object of EBase
proc copyFileD*(fro, to: string) =
echo(fro, " -> ", to)
copyFile(fro, to)
proc copyDirD*(fro, to: string) =
echo(fro, " -> ", to)
copyDir(fro, to)