Commit graph

215 commits

Author SHA1 Message Date
Dominik Picheta
e457b54d09 Small output adjustment. 2016-12-22 23:12:41 +01:00
Dominik Picheta
36e7bfba19 Use the cli module everywhere. 2016-12-22 17:12:45 +01:00
Dominik Picheta
8f34336e91 Add hints for NimbleErrors which help the user fix them. 2016-12-22 16:49:24 +01:00
Dominik Picheta
c0f2bd03b1 More use of the cli module. 2016-12-22 16:30:24 +01:00
Dominik Picheta
a111d5f3b9 Implement promptCustom in cli and use it for init command. 2016-12-22 16:13:36 +01:00
Dominik Picheta
9b67f424e6 The path command no longer looks for .babel or .nims files. 2016-12-22 15:38:53 +01:00
Dominik Picheta
34af12a326 Use cli.display for path command. 2016-12-22 15:36:18 +01:00
Dominik Picheta
971dc300bb Usability fixes and output improvements for compile command. 2016-12-22 15:18:46 +01:00
Dominik Picheta
cb1248a9b4 Fix --nimbledir for c command and separate flags into actions. 2016-12-22 14:38:22 +01:00
Dominik Picheta
a04848060b Use cli for remove command messages. Improve prompt. 2016-12-22 11:29:48 +01:00
Dominik Picheta
22929add07 Spice up the prompts. 2016-12-21 22:56:39 +01:00
Dominik Picheta
9be27cd665 Display suppressed messages tip only when an error occurred. 2016-12-21 22:18:11 +01:00
Dominik Picheta
17ddbc3214 Add colons to non-verb categories in cli.display. 2016-12-21 22:11:47 +01:00
Dominik Picheta
87567161b8 All output from install command is now using the cli module. 2016-12-21 21:45:43 +01:00
Dominik Picheta
87d6f85aea Implement debug messages and wrap exec output in them. 2016-12-21 20:09:53 +01:00
Dominik Picheta
5fe69b389f Improvements to existing CLI messages. 2016-12-21 00:17:56 +01:00
Dominik Picheta
e3f833d61c More replacements of 'echo' to CLI's 'display'. 2016-12-21 00:08:42 +01:00
Dominik Picheta
60aa57be24 NimbleError is now captured in debug mode as well as release mode. 2016-12-20 23:40:26 +01:00
Dominik Picheta
c16c0b8864 Use CLI in packageparser. 2016-12-20 23:25:56 +01:00
Dominik Picheta
3791f8a09a Switch to cli in processDeps. 2016-12-20 22:46:07 +01:00
Dominik Picheta
25a53eb4dc Raise an error if 'refresh' does not download anything successfully. 2016-12-20 21:14:00 +01:00
Dominik Picheta
effbfbc6a1 Refresh command now supports a package list name as argument. 2016-12-20 20:58:57 +01:00
Dominik Picheta
ac352aa6b2 Rename 'update' proc to 'refresh'. 2016-12-20 20:49:39 +01:00
Dominik Picheta
2dab010c23 Implement --verbosity switch. 2016-12-20 00:01:39 +01:00
Dominik Picheta
8ebc4bb7c1 Implement message suppression. 2016-12-19 23:49:41 +01:00
Dominik Picheta
dcbbb8b62e Switch 'refresh' command to new CLI module. 2016-12-19 23:35:27 +01:00
Dominik Picheta
abb9d79ea4 Parse command line args first so that -v doesn't read config. 2016-12-19 22:28:19 +01:00
Dominik Picheta
3c22ffd848 Implements a nimblepkg/cli module which formats output messages. 2016-12-19 21:42:02 +01:00
Dominik Picheta
d42a07e0f7 Fixes nimbledata.json being read from default nimbleDir. 2016-12-15 23:31:45 +01:00
Dominik Picheta
4276b7237d Merge pull request #273 from nim-lang/ARAQ-fix-warnings
fixes a 'break search loop' bug; got rid of most compiler warnings
2016-12-12 20:17:29 +01:00
Araq
82868ea818 get rid of unnecessary cyclic module dependency 2016-11-24 00:45:47 +01:00
Araq
b3f793ae0d get rid of unnecessary cyclic module dependency 2016-11-24 00:16:05 +01:00
Chris Rohlfs
bcbb85c5e4 Fix 'compile' not working when spaces are in bin path 2016-11-22 01:41:40 +13:00
Chris Rohlfs
4fa4404df8 Fix install not working when spaces are in bin path 2016-11-21 21:14:28 +13:00
Dominik Picheta
180653216c Bump to v0.7.11. 2016-11-11 11:40:40 +00:00
Araq
ee3ad4353e fixes a 'break search loop' bug; got rid of most compiler warnings 2016-11-06 23:06:37 +01:00
Araq
a0670e9620 finish migration to new compiler API 2016-11-06 19:58:37 +01:00
Araq
417136e57e make Nimble compiler with the lastest version of the compiler API 2016-11-05 01:17:05 +01:00
Araq
9c81e28343 Merge branch 'master' into araq-compiler-api2 2016-11-01 00:21:51 +01:00
Araq
4ce6f2b395 make Nimble compile with the changed compiler API 2016-10-31 20:40:21 +01:00
Dominik Picheta
06b942680b Remove spammy message about nimscriptapi.nim. 2016-10-26 21:14:18 +02:00
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
1be5c052ae Version 0.7.10. 2016-10-09 15:20:31 +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
b0737ada9b Fixes #186. 2016-10-08 21:13:49 +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
0564cb238a Fixes #129. 2016-10-08 20:51:19 +02:00
Dominik Picheta
138a5a2ae9 Statically read nimscriptapi.nim into the executable.
Fixes #238.
2016-10-08 20:27:47 +02:00
Dominik Picheta
e3682c96b3 Bump version to v0.7.8. 2016-09-29 21:35:52 +02:00
Dominik Picheta
436b7c6e93 HotFix: Support spaces in binary paths for doCmdEx. 2016-09-28 23:30:09 +02:00