Commit graph

88 commits

Author SHA1 Message Date
Dominik Picheta
2eec391732 Fixes getInstalledPkgs returning minimal package information.
This was introduced in commit 2cf03313fd.
2016-10-26 20:10:17 +02:00
Dominik Picheta
65dbd97269 Moves nimbleVersion to common.nim and uses it in .nimble file. 2016-10-09 15:19:42 +02:00
Dominik Picheta
ec5b00318c Revert "Fixed cygwin stub"
This reverts commit 5aa4752b15.

Refs #235.
2016-10-08 20:54:08 +02:00
Dominik Picheta
e3682c96b3 Bump version to v0.7.8. 2016-09-29 21:35:52 +02:00
Yuriy Glukhov
f29f21d2e0 Store vcs revision in metadata 2016-09-21 13:58:07 +03:00
Jeff Ciesielski
e4838f4718 Add binDir checking/auto creation. Fixes #215 2016-09-19 08:45:33 -04:00
Euan T
dfb5dda51c Fix spelling mistake of "initial". 2016-09-04 14:21:01 +01:00
Dominik Picheta
cbdc4ed354 Bump version to 0.7.4. 2016-06-06 20:02:09 +01:00
Jeff Ciesielski
be991a10f3 Fix infinitely recursive "update package lists?" prompt 2016-06-03 08:07:22 -04:00
tormund
07e9ac0972 cleanup 2016-05-23 14:52:50 +03:00
tormund
cec74dbdcc add install only dependencies 2016-05-23 14:47:15 +03:00
Yuriy Glukhov
4c3f62adf3 Renamed actionUpdate to actionRefresh 2016-04-13 15:20:28 +03:00
Yuriy Glukhov
08496341b7 BONUS: Fixed tests because of dom's breaking changes ;) 2016-04-06 15:54:08 +03:00
Yuriy Glukhov
5aa4752b15 Fixed cygwin stub 2016-03-18 13:48:38 +02:00
Jeff Ciesielski
8ed8b98c61 Switch to only checking for 'github.com' in url
Avoids dealing with http:// v https:// v git:// urls
2016-02-26 13:57:47 -05:00
Jeff Ciesielski
e51d1679c5 Fix for Issue 204
Github + https + trailing slash in URL causes failed checkouts / remote
tag fetches.  The issue appears to be indemic to github.com, not git itself
2016-02-25 18:57:08 -05:00
Yuriy Glukhov
2de92a8230 Fixes symlink installation issue 2016-02-14 21:13:02 +02:00
Dominik Picheta
2485ab6746 Replaced 'auto' with explicit types in sort anon proc. 2016-01-12 20:08:13 +00:00
Hans Raaf
14e0ca9a3b This change sorts the list of the installed modules by name.
It also adds some files to .gitignore to make checkins easier.
2016-01-11 02:37:44 +01:00
Dominik Picheta
1fa209a689 Fix tests. Add test for hooks. 2015-12-30 20:20:04 +00:00
Dominik Picheta
42ef358459 Various optimisations to PackageInfo reading and bug fixes.
* PackageInfo objects are now cached because NimScript evaluation is expensive.
* before/after hooks now return `true` by default.
* Bugfix: when hooks weren't found Nimble would still think that a hook told it
  to skip an action.
* PackageInfo now includes info about which hooks are defined to prevent
  unnecessary execution of those hooks.
* Probably more.
2015-12-30 19:43:20 +00:00
Dominik Picheta
5d55a5f7a2 Fix NimScriptApi builtins. Implement before/after hooks for NimS. 2015-12-30 18:14:32 +00:00
Dominik Picheta
3f6ef3ae55 Fixed reverse deps issues + some tests. Fixes #113. Fixes #168. 2015-12-29 17:30:32 +00:00
Dominik Picheta
50d2637b04 Implement proxy support (configurable). Ref #86. 2015-12-29 15:31:22 +00:00
Dominik Picheta
2f57dd1b2a git:// now replaced with https:// (configurable). Ref #86. 2015-12-29 14:37:10 +00:00
Dominik Picheta
835157ce34 Implements configurable package list URLs. Implements #75. 2015-12-29 13:43:05 +00:00
Dominik Picheta
ca99ad7d21 Moved Nimble-specific Nimscript definitions to nimscriptapi module.
* Moved package info reading procedures to a packageparser module. This is to prevent recu
rsive dependencies between nimscriptsupport and packageinfo modules.
* Passed the Options object to all procedures which read package info (necessary for nimscriptsupport module, to find the path of the nimscriptapi module)
* Introduced an ``isInstalled`` field to the ``PackageInfo`` type. This is a bug fix for g
etRealDir: it no longer uses the ``src`` field in the path it returns for installed packag
es' PackageInfo objects.
* Improved error reporting from NimScript evaluator.
* Renamed compiler/options import to ``compiler_options`` in ``nimscriptsupport`` module.
* Backward compatibility for .babel packages in getNameVersion proc.
* Introduced a getInstalledPkgsMin procedure which does not read package info, but only pr
ovides minimal info instead.
2015-12-28 16:33:34 +00:00
Dominik Picheta
84f371982b Implemented flags and arguments for NimScript's setCommand. 2015-12-25 16:32:46 +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
26d99d288e Fixes #108. 2015-12-24 10:58:02 +00:00
Dominik Picheta
d94501234a Merge branch 'nimscript-support' 2015-12-24 01:35:32 +00:00
Dominik Picheta
9045b401b1 Fixed nims task execution. Added NimScript tests to tester. 2015-12-24 00:58:19 +00: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
Andreas Rumpf
beb0ccda39 perform a fixpoint iteration for proper Nimscript support 2015-12-21 16:07:07 +01:00
Dominik Picheta
fc0bb6ee73 The update command is now named refresh. Ref #158 2015-12-15 00:09:09 +00:00
Dominik Picheta
1edfb80c85 Abstract parsing of the actions. 2015-11-23 16:26:22 +00:00
Dominik Picheta
207f1bd63c Fix `nimble init` nimscript format. 2015-11-07 16:20:08 +00:00
Dominik Picheta
26f5fcdd3f Rename 'opt' back to 'options'. 2015-11-07 16:15:47 +00:00
Araq
99332ce552 implemented 'nimble dump' command 2015-09-03 12:22:22 +02:00
Araq
2cf03313fd first implementation of NimScript support 2015-09-03 01:50:55 +02:00
Araq
68c1266a44 implemented 'nimble publish' 2015-08-18 12:27:07 +02:00
Dominik Picheta
c3d2e59ebc Error on invalid cmd line params. Params normalized. Fixes #151. 2015-07-26 22:27:45 +01:00
Dominik Picheta
43f7e4c310 Fixes compilation without windows module (0.11.3). Ref #150. 2015-07-26 22:24:08 +01:00
Anatoly Galiulin
04e9bb4739 Fixed chcp call on vista and newer 2015-07-23 10:39:20 +06:00
Anatoly Galiulin
acb6d0ef8e Fixed chcp call bug on windows xp 2015-07-21 12:16:55 +06:00
Dominik Picheta
7524cd1798 Bump versions to 0.6.2. Ref #146. 2015-06-19 19:45:40 +01:00