Skip to content

Commit

Permalink
Override babelPath when building.
Browse files Browse the repository at this point in the history
Also updated todo.
  • Loading branch information
dom96 committed Dec 25, 2013
1 parent e163ee9 commit fda6699
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/babel.nim
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ proc buildFromDir(pkgInfo: TPackageInfo, paths: seq[string]) =
for bin in pkgInfo.bin:
echo("Building ", pkginfo.name, "/", bin, " using ", pkgInfo.backend,
" backend...")
doCmd("nimrod $# -d:release $# \"$#\"" %
doCmd("nimrod $# -d:release --babelPath:\"\" $# \"$#\"" %
[pkgInfo.backend, args, realDir / bin.changeFileExt("nim")])

proc installFromDir(dir: string, latest: bool, options: TOptions, url: string): seq[string] =
Expand Down
11 changes: 1 addition & 10 deletions todo.markdown
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
* better config options, add config file
* commit hashes as versions for dependencies
* Perhaps add some easy way to distinguish between real versions and commit
maybe use ``@``; ``@c645asd``.
* Stricter directory layouts.
* Stricter version allowance -- disallow any letters in version numbers.

* A way to install specific versions of a package.
* more package download methods
* Allow for proper versions of packages to download. Reuse 'version' field
in packages.json.
* Install only .nim files when installing library packages?
* Force disable --babelPath when building binary packages?
* Install only .nim files when installing library packages?

0 comments on commit fda6699

Please sign in to comment.