Added changelog entry. Improved readme.
This commit is contained in:
parent
d3d674d400
commit
875786d34f
3 changed files with 26 additions and 3 deletions
|
|
@ -1,5 +1,21 @@
|
||||||
# Babel changelog
|
# Babel changelog
|
||||||
|
|
||||||
|
## 0.6.0 - 26/12/2014
|
||||||
|
|
||||||
|
* Renamed from Babel to Nimble
|
||||||
|
* Introduces compatibility with Nim v0.10.0+
|
||||||
|
* Implemented the ``init`` command which generates a .nimble file for new
|
||||||
|
projects. (Thank you
|
||||||
|
[@singularperturbation](https://github.com/singularperturbation))
|
||||||
|
* Improved cloning of git repositories.
|
||||||
|
* Fixes ``path`` command issues (thank you [@gradha](https://github.com/gradha))
|
||||||
|
* Fixes problems with symlinking when there is a space in the path.
|
||||||
|
(Thank you [@philip-wernersbach](https://github.com/philip-wernersbach))
|
||||||
|
* The code page will now be changed when executing Nimble binary packages.
|
||||||
|
This adds support for Unicode in cmd.exe (#54).
|
||||||
|
* ``.cmd`` files are now used in place of ``.bat`` files. Shell files for
|
||||||
|
Cygwin/Git bash are also now created.
|
||||||
|
|
||||||
## 0.4.0 - 24/06/2014
|
## 0.4.0 - 24/06/2014
|
||||||
|
|
||||||
* Introduced the ability to delete packages.
|
* Introduced the ability to delete packages.
|
||||||
|
|
|
||||||
|
|
@ -215,6 +215,11 @@ which can be useful to read the bundled documentation. Example:
|
||||||
$ cd `nimble path argument_parser`
|
$ cd `nimble path argument_parser`
|
||||||
$ less README.md
|
$ less README.md
|
||||||
|
|
||||||
|
### nimble init
|
||||||
|
|
||||||
|
The nimble ``init`` command will start a simple wizard which will create
|
||||||
|
a quick ``.nimble`` file for your project.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
At startup Nimble will attempt to read ``$AppDir/nimble/nimble.ini``,
|
At startup Nimble will attempt to read ``$AppDir/nimble/nimble.ini``,
|
||||||
|
|
|
||||||
|
|
@ -715,7 +715,7 @@ proc init(options: TOptions) =
|
||||||
if (options.action.projName != ""):
|
if (options.action.projName != ""):
|
||||||
pkgName = options.action.projName
|
pkgName = options.action.projName
|
||||||
fName = pkgName & ".nimble"
|
fName = pkgName & ".nimble"
|
||||||
if ( existsFile( os.getCurrentDir() / fName ) ):
|
if (existsFile(os.getCurrentDir() / fName)):
|
||||||
raise newException(ENimble, "Already have a nimble file.")
|
raise newException(ENimble, "Already have a nimble file.")
|
||||||
else:
|
else:
|
||||||
echo("Enter a project name for this (blank to use working directory), Ctrl-C to abort:")
|
echo("Enter a project name for this (blank to use working directory), Ctrl-C to abort:")
|
||||||
|
|
@ -728,7 +728,8 @@ proc init(options: TOptions) =
|
||||||
|
|
||||||
# Now need to write out .nimble file with projName and other details
|
# Now need to write out .nimble file with projName and other details
|
||||||
|
|
||||||
if (not existsFile(os.getCurrentDir() / fName) and open(f=outFile, filename = fName, mode = fmWrite)):
|
if (not existsFile(os.getCurrentDir() / fName) and
|
||||||
|
open(f=outFile, filename = fName, mode = fmWrite)):
|
||||||
outFile.writeln("[Package]")
|
outFile.writeln("[Package]")
|
||||||
outFile.writeln("name = \"" & pkgName & "\"")
|
outFile.writeln("name = \"" & pkgName & "\"")
|
||||||
outFile.writeln("version = \"0.1.0\"")
|
outFile.writeln("version = \"0.1.0\"")
|
||||||
|
|
@ -741,7 +742,8 @@ proc init(options: TOptions) =
|
||||||
close(outFile)
|
close(outFile)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
raise newException(ENimble, "Unable to open file " & fName & " for writing: " & osErrorMsg())
|
raise newException(ENimble, "Unable to open file " & fName &
|
||||||
|
" for writing: " & osErrorMsg())
|
||||||
|
|
||||||
proc uninstall(options: TOptions) =
|
proc uninstall(options: TOptions) =
|
||||||
var pkgsToDelete: seq[TPackageInfo] = @[]
|
var pkgsToDelete: seq[TPackageInfo] = @[]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue