Remove escaping of author name and package description in nimble init,

since it replaces characters used in many names and languages with
escape sequences.
Slightly refactor the code for determining author name, to make it
easier to add other version control systems in future (right now it's
just git and hg).

Also, add some binary test artifacts to .gitignore so they don't accidentally
get committed in future.
This commit is contained in:
Oisín Mac Fhearaí 2019-07-27 17:55:59 +01:00 committed by Dominik Picheta
commit 5b7b061465
3 changed files with 22 additions and 13 deletions

11
.gitignore vendored
View file

@ -12,6 +12,14 @@ nimcache/
/nimble
/tests/nimscript/nimscript
/tests/issue27/issue27
src/nimblepkg/cli
src/nimblepkg/packageinfo
src/nimblepkg/packageparser
src/nimblepkg/reversedeps
src/nimblepkg/version
tests/nimble-test/
tests/packageStructure/validBinary/y
tests/testCommand/testsFail/tests/t2
# Windows executables
*.exe
@ -19,4 +27,5 @@ nimcache/
# VCC compiler and linker artifacts
*.ilk
*.pdb
*.pdb