Commit graph

43 commits

Author SHA1 Message Date
Dominik Picheta
ecd78e0e03 Fixes #61. 2014-10-20 04:04:14 +01:00
Dominik Picheta
e3cbc13568 Check Nim version to determine Nimble dir. 2014-10-19 15:21:33 +01:00
Dominik Picheta
b4d6b1fe40 s/babel/nimble 2014-10-11 22:42:41 +01:00
Dominik Picheta
adbc30c22e Renamed babel to nimble. 2014-10-11 22:38:44 +01:00
Dominik Picheta
7d18e2be1c Fixes version peg for multiple digit versions. 2014-10-11 20:30:12 +01:00
Dominik Picheta
ee952e92fc Case fixes. 2014-09-27 16:59:25 +01:00
Dominik Picheta
3c1248c1b2 Use Nim binary if it exists. 2014-09-09 16:59:06 +01:00
Dominik Picheta
64f05549eb Remove spaces inside parens. 2014-09-04 00:13:54 +01:00
singularperturbation
9a67b08664 Style changes, fix some bugs, raise exceptions
Did some cleanup to better match style conventions, switched out 'quit'
statements in favor of raising 'EBabel' exceptions, used writeln, and
other cleanup.

See
https://github.com/nimrod-code/babel/pull/58
2014-09-02 18:02:43 -05:00
singularperturbation
d5d28c8fcf 'Init' feature initial implementation
Added the init() proc to babel.nim as well as a new TActionType and
supporting code in doAction.  The idea is that if you have a project
already created in a directory, this will create a .babel file with
sane defaults.  I also updated the help text describe the 'init'
feature as with the other babel commands.
2014-09-02 01:07:43 -05:00
Dominik Picheta
07d4fd2253 Fixes compilation on 0.9.4. 2014-08-22 21:16:09 +01:00
Dominik Picheta
8042e124e1 Fixes compilation with 0.9.4 hopefully. 2014-08-21 21:06:57 +01:00
Dominik Picheta
de62dc27fc Fixes for recent compiler changes. 2014-08-16 19:50:08 +01:00
Grzegorz Adam Hankiewicz
8a75684263 Removes prefix from defined. Fixes #52, refs #51. 2014-07-18 17:58:38 +02:00
Grzegorz Adam Hankiewicz
244a4b5b14 Adds compatibility for Nimrod's 0.9.4 compiler. 2014-07-17 16:33:18 +02:00
papplampe
66e45dfd14 fix problems with temp dir 2014-07-08 10:06:03 +02:00
Dominik Picheta
05ac7d5bcd Version 0.4.0 2014-06-24 00:32:41 +01:00
Dominik Picheta
6b03336c9d Fixes #42. 2014-06-23 13:02:39 +01:00
Dominik Picheta
a541387dfb Normalise cmd line pkg name and ver range parsing. 2014-06-22 22:02:14 +01:00
Dominik Picheta
509eff97a3 Reverse deps no longer added in one incorrect case. 2014-06-22 21:32:43 +01:00
Dominik Picheta
35fef81b66 Fixes more problems with the uninstall feature. 2014-06-22 20:41:13 +01:00
Dominik Picheta
014b897718 Packages with URL dependencies are now removed properly. 2014-06-22 17:08:07 +01:00
Dominik Picheta
dd1cc210b7 Fixes crash when installing using git URL. 2014-06-22 16:45:08 +01:00
Dominik Picheta
05d9956662 Implements babel uninstall. 2014-06-22 16:24:16 +01:00
Dominik Picheta
3f4d8f4857 Add missing config.nim. 2014-06-22 00:11:13 +01:00
Dominik Picheta
d8068adef6 Implement configurable babelDir. Fixes #29. 2014-06-20 23:08:48 +01:00
Dominik Picheta
0cc45d05be Fixes #27. 2014-06-20 21:53:53 +01:00
Dominik Picheta
dd45dd9418 Fixed tester and removed useless dir creation. 2014-06-20 20:57:18 +01:00
Dominik Picheta
66027f9435 Fixes #37. 2014-06-20 20:48:09 +01:00
Dominik Picheta
e84c5a721c Fixes #25. 2014-06-20 20:42:34 +01:00
Dominik Picheta
83c07c254f Merge branch 'pr_removes_tmp_directory' of https://github.com/gradha/babel into gradha-pr_removes_tmp_directory
Conflicts:
	src/babel.nim
2014-06-20 20:23:05 +01:00
Dominik Picheta
10de991d3d Implements #41.
Also, building of binary packages now takes place before any old packages
are removed. This is to prevent the case where the old package is removed
and a new version of the same package fails to build so the user is left
with no package at all.
2014-06-20 20:10:49 +01:00
Grzegorz Adam Hankiewicz
2a0ddb7d5b Renames temp directory and removes it in release builds. Refs #28. 2014-04-29 21:43:32 +02:00
Dominik Picheta
4a764b1f87 Merge pull request #35 from gradha/pr_fail_bad_input
Adds verification of whitelisted files and directories.
2014-03-25 18:16:06 +00:00
Grzegorz Adam Hankiewicz
ad11859896 Adds verification of whitelisted files and directories. 2014-03-23 00:27:45 +01:00
Grzegorz Adam Hankiewicz
c451d20899 Adds support for git submodules during clone. 2014-03-22 19:36:16 +01:00
Dominik Picheta
fbeddd527c Fixes #31
listPaths was using a non-cross-platform pattern in walkFiles.
2014-02-24 21:23:50 +00:00
Dominik Picheta
64164e93cd Version 0.2 2013-12-30 18:35:38 +00:00
Dominik Picheta
9dcc28f9d3 Isolate babel modules in a `babelpkg` dir. 2013-12-28 13:40:42 +00:00
Dominik Picheta
4d8d3cb7b3 Added --noBabelPath to list of arguments when building. 2013-12-25 22:43:04 +00:00
Dominik Picheta
51afc90dc5 Revert --babelPath override. 2013-12-25 22:02:40 +00:00
Dominik Picheta
fda66997ba Override babelPath when building.
Also updated todo.
2013-12-25 21:41:29 +00:00
Dominik Picheta
4cd00aee62 Changed directory structure. 2013-12-24 16:41:48 +00:00