Commit graph

47 commits

Author SHA1 Message Date
Dominik Picheta
5eaee85825 Refactored command line parsing further. 2015-12-25 15:04:55 +00:00
Dominik Picheta
186f2836e9 Refactor Options type and related procs into an options module. 2015-12-25 00:31:30 +00:00
Dominik Picheta
e5573f0096 Make ValidationError for inconsistent nimble project names a warning. 2015-12-24 20:20:19 +00:00
Dominik Picheta
0a1b583392 Fixed tests. 2015-12-24 17:54:58 +00:00
Dominik Picheta
98045ea39c Better error message when an installed package fails validation.
Fixes #175.
2015-12-24 17:46:46 +00:00
Dominik Picheta
96ddb12da8 Fixes #126. 2015-12-24 10:26:36 +00:00
Yuriy Glukhov
6cb0c5043b Fixed compilation 2015-12-24 11:25:59 +02:00
Dominik Picheta
20d4a59609 Fixes small bugs introduced by nimscript. 2015-12-24 00:12:04 +00:00
Dominik Picheta
7d5428be19 Improved the init command. Fixes #96. 2015-12-23 22:40:14 +00:00
Dominik Picheta
dbd478bc20 The .nimble extension is now used for both ini and nims .nimble files.
This is done by parsing the .nimble file using the ini parser first, then if that fails evaluating it using nimscript.
2015-12-23 20:48:05 +00:00
Dominik Picheta
0fcf0b2de9 Implemented `tasks` command. 2015-12-23 13:33:14 +00:00
Dominik Picheta
36273f1166 Improvements to API of nimscriptsupport module.
* setCommand "nop" no longer needed.
* Recursive setCommand supported.
* Explicit execTask procedure which executes the task explicitly instead of setting global compiler variables.
2015-12-23 13:05:59 +00:00
Dominik Picheta
a5b23fd226 Merge branch 'master' into nimscript-support 2015-11-25 11:50:06 +00:00
Dominik Picheta
2ed09847f2 Fixes #125 2015-11-24 11:48:09 +00:00
Dominik Picheta
6fcbffd1cc Merge branch 'master' of https://github.com/Araq/nimble into Araq-master 2015-11-07 16:01:19 +00:00
Araq
ffbd5f5b3e hotfix: nimble builds with devel again 2015-10-13 10:17:02 +02:00
Araq
740a1551d0 NimScript support now works 2015-09-03 12:19:57 +02:00
Araq
2cf03313fd first implementation of NimScript support 2015-09-03 01:50:55 +02:00
Dominik Picheta
e2d959bf9c Many improvements and fixes to nimble publish.
* Fixed incorrect URL in packages.json when remote URL is an ssh URL.
* Fixed cloning of packages fork after oauth introduction.
* A new branch is now created for each package addition.
2015-08-23 17:53:03 +01:00
Dominik Picheta
d349aa0169 Use /tmp instead of parent dir for fork cloning. 2015-08-21 23:54:39 +01:00
Dominik Picheta
d60498ad7f Implement oauth authorization instead of basic. 2015-08-21 23:49:44 +01:00
Araq
9052f43a63 always add a trailing newline to the packages.json 2015-08-19 01:50:47 +02:00
Araq
68c1266a44 implemented 'nimble publish' 2015-08-18 12:27:07 +02:00
Dominik Picheta
1234cdce13 Fixes cloning of default git branches.
When cloning a git repo the default branch will now be cloned.
Had to revert #70 for this. Sorry @gradha.
2015-06-14 18:44:17 +01:00
Dominik Picheta
3a66241a22 Bugfix when cloning unsatisfied tagged repo.
When a tagged repo contains no tags which satisfy the version range
requested, then we should attempt to clone HEAD (or TIP in hg).
This fix brings back this behaviour.
2015-06-14 18:24:31 +01:00
Dominik Picheta
44a2b80a64 Make (install #head?) question more accurate. 2015-06-04 22:47:05 +01:00
Dominik Picheta
5450dc8213 Install #head if version tag does not compile. Fixes #139. 2015-06-04 22:18:35 +01:00
Dominik Picheta
4ffcdf141e Fix installation (default output dir changed). 2015-06-04 18:33:38 +01:00
Dominik Picheta
e42b04b329 Fix incorrect type name in packageinfo module. 2015-06-04 18:03:17 +01:00
Dominik Picheta
11f710819c Rename buildDir to binDir. 2015-06-04 17:57:06 +01:00
Dominik Picheta
ca9a09f07b Merge branch 'master' of https://github.com/minciue/nimble into minciue-master
Conflicts:
	developers.markdown
	src/nimble.nim
2015-06-04 17:53:48 +01:00
Jean Cavallo
4a56ac60d9 Use str.len-1 rather than -1 2015-03-31 12:21:22 +02:00
Jean Cavallo
87d6f908cc Fix #110 : use '^' rather than '-' for list negative indexes 2015-03-30 12:19:51 +02:00
Louis Berube
ceb1e48a80 Merge remote-tracking branch 'upstream/master'
Conflicts:
	src/nimble.nim
2015-01-03 19:04:09 -05:00
Louis Berube
f4c052eaca Fixed out-of-order problems in the automated unit tests 2015-01-02 16:04:46 -05:00
Louis Berube
521ee1f696 - Converted types from the old T/P convention
- Deleted compat.nim
2014-12-31 10:13:23 -05:00
Louis Berube
383e0f2a4c Updated source to eliminate stuff deprecated by nim 0.10.2 2014-12-29 15:38:16 -05:00
Eugen Minciu
70f03b2c9b Output build to the base directory by default.
Make nimble build output to the directory where the .nimble file resides
by default.
2014-12-28 21:46:57 +02:00
Eugen Minciu
cce58bd981 Add a builddir option. 2014-12-28 19:47:14 +02:00
Dominik Picheta
f151d4bcca Allow 'nim' in dependency list & more s/nimrod/nim/ 2014-12-26 00:49:34 +00:00
Dominik Picheta
39fcd3a89f Fixes #54. 2014-12-25 21:54:16 +00:00
Dominik Picheta
536cf4d1cc Fixes #63. 2014-12-25 21:09:57 +00:00
Grzegorz Adam Hankiewicz
6f68428915 Fixes git command line install for a specific tag. Refs #70. 2014-12-10 00:16:07 +01:00
Grzegorz Adam Hankiewicz
a0fb2c173b Improves cloning of git repositories. Refs #70. 2014-12-05 17:43:32 +01:00
Grzegorz Adam Hankiewicz
42dcac241f Manually checks out the branch/tag after git clone. 2014-12-05 16:23:10 +01:00
Dominik Picheta
e3cbc13568 Check Nim version to determine Nimble dir. 2014-10-19 15:21:33 +01:00
Dominik Picheta
adbc30c22e Renamed babel to nimble. 2014-10-11 22:38:44 +01:00