Commit graph

289 commits

Author SHA1 Message Date
Dominik Picheta
b47f174748 Merge pull request #348 from antizealot1337/seqstringarg
Change buildFromDir to accept a seq[string] instead of a string.
2017-08-12 11:18:41 +01:00
Daniil Yarancev
29c9cf8ce7 Removed deprecated warnings, also tiny refactoring 2017-08-10 12:51:16 +03:00
waylon531
4a78953fc6
Added better url detection to publish
Publish will now look at the hostname part of the ssh url to figure out
what git server to use. This definitely works with both github and
gitlab, and adds gitlab support to `nimble publish`.
2017-07-25 17:10:05 -07:00
Yuriy Glukhov
e756a14c15 Fixed branch checkout and handling of branch names with dashes. (#379)
* Fixed branch checkout and  handling of branch names with dashes.

* Added assert
2017-07-19 22:42:28 +01:00
Dominik Picheta
10a38a3c90 Merge pull request #371 from subsetpark/local-json
Allow specifying local json package list files
2017-07-11 19:30:14 +01:00
Zach Smith
2a7e1f132c Code Review from @dom96 2017-06-26 17:12:46 -04:00
Zach Smith
2718a8e9d5 Use path != "" instead of len check 2017-06-25 17:40:06 -04:00
Zach Smith
f2836e5a5c Roll back downloadFile upgrade 2017-06-25 17:27:56 -04:00
Zach Smith
c89ca099a2 Allow locally stored package list files to be specified in config (#368) 2017-06-25 17:10:08 -04:00
Zach Smith
183fed527b Make conventional structure more explicit in structure warnings and readme 2017-06-25 16:31:34 -04:00
Xiao-Yong
a69d7563f4 nimble accepts a .nimble file that is a link 2017-06-07 23:32:42 -05:00
Dominik Picheta
5adfe30155 Version 0.8.6. 2017-05-05 16:47:17 +01:00
Chris
8555982512 Change buildFromDir to accept a seq[string] instead of a string.
Fixes #334
2017-05-05 11:31:51 -04:00
Dominik Picheta
4a71ccbbd4 Improve getNimPrefixDir to support choosenim and env var.
See comment for more information. This commit also adds support
for an environment variable so that users have a workaround
when Nimble cannot find the Nim stdlib.
2017-05-05 12:36:54 +01:00
antizealot1337
30d6aaf966 Change to pass extra parameters to compiler (#347)
* Change to pass extra parameters to compiler

* Add extra space in from of path argument

* Fix missing space that caused some nimble commands to fail
2017-05-05 12:04:01 +01:00
Dominik Picheta
cfe68bb441 Don't check Nim version when init'ing config (breaks .babel dir). 2017-05-02 14:01:02 +01:00
Dominik Picheta
5d5825a179 Bump version to 0.8.5. 2017-04-30 21:39:08 +01:00
Dominik Picheta
d9f2e6c49e Implement --noColor option. 2017-04-30 15:40:46 +01:00
Dominik Picheta
c1ffe62a68 Allow doAction to show help/version instead of CLI parser. 2017-04-28 16:52:34 +02:00
Samantha Marshall
b7201c81a4
Modifying how package install path is validated
Fix:
  * This addresses a bug where nimble will throw an exception in the middle of installation due to trying to evaluate paths that are not normalized. This was fixed by adding some additional validation checks that involve comparing paths by normalizing them first. [#338]
2017-04-22 13:33:49 -04:00
Dominik Picheta
e62084a2a7 Merge pull request #343 from andreaferretti/fix305
Fixed https://github.com/nim-lang/nimble/issues/305
2017-04-07 19:53:55 +02:00
Andrea Ferretti
745a7863d2 Fixed https://github.com/nim-lang/nimble/issues/305 2017-04-07 15:32:31 +02:00
Andrea Ferretti
2e9c50e487 Fixed https://github.com/nim-lang/nimble/issues/339 2017-04-07 15:09:13 +02:00
Samantha Marshall
0d516b483e
fixing casing 2017-03-13 14:47:16 -04:00
Samantha Marshall
ad869f9df6
fixing typo and adding message for retrieving API Token from file 2017-03-13 13:38:32 -04:00
Samantha Marshall
47f5691c0b
adding new display message about where the token is coming from 2017-03-13 13:18:27 -04:00
Samantha Marshall
26344e2083
adding on-screen delay for new message 2017-03-11 14:54:48 -05:00
Samantha Marshall
32ed21695b
adding support for an environment variable 2017-03-11 14:51:54 -05:00
Dominik Picheta
8e143a097d Change name of file where publish token is saved. 2017-02-22 18:17:18 +01:00
Jeff Ciesielski
c13a1c8977 Add credential caching
This change stores the user's github API token in ~/.nimble/api_token for
ease of publishing.

closes https://github.com/nim-lang/nimble/issues/307
2017-02-21 22:26:20 -05:00
Andrea Ferretti
83731a9b32 Fixed #329 2017-02-10 16:53:27 +01:00
Dominik Picheta
0a280aa6dd Version 0.8.4 2017-01-29 21:31:31 +01:00
Dominik Picheta
c4d294ca9b Fixes #319. 2017-01-29 20:47:47 +01:00
Dominik Picheta
4c99e3b6eb Fixes #321. 2017-01-29 16:58:53 +01:00
Dominik Picheta
f479213ad8 Fixes #323. 2017-01-29 15:57:15 +01:00
Samantha Marshall
f613458780
whooops, missed part two of this changeset 2017-01-28 10:47:04 -05:00
Samantha Marshall
caae0a3cbd
updating git command to fetch the url of the remote origin 2017-01-27 20:25:25 -05:00
Dominik Picheta
ee07fb83e7 Always overwrite temporary nimscriptapi.nim in /tmp. 2017-01-11 00:10:40 +01:00
Dominik Picheta
69efef5f4b Fixes #313. Fixes #314. Binary packages installation issues fixed. 2017-01-10 23:53:46 +01:00
Dominik Picheta
756beb6b5e Increment to v0.8.3. 2017-01-09 20:28:03 +01:00
Dominik Picheta
c37420d507 Bump to v0.8.2. 2017-01-08 18:34:34 +01:00
Dominik Picheta
d78af3acf1 Fixes aporia install. See nim-lang/aporia#136. Refs #311. 2017-01-08 18:15:36 +01:00
Dominik Picheta
4f175749e4 Don't search for nimscriptapi overrides. Fixes #306. 2017-01-04 16:05:43 +00:00
Dominik Picheta
0628911758 Show output for the compiler/docgen commands. Fixes #303. 2017-01-03 19:38:34 +00:00
Dominik Picheta
dda0c39e34 Fixes #304. 2017-01-03 19:25:36 +00:00
Dominik Picheta
b629048249 Just check for nimdistros instead of adding an additional define. 2017-01-03 19:00:39 +00:00
Dominik Picheta
fcbb3de783 More intelligent definition of nimbledistros.
This fixes issues with using latest Nimble in an
0.15.2 environment.

Squashed commit of the following:

commit 4c5f791873b7965a25b9dbdb29a96b38a065c478
Author: Dominik Picheta <dominikpicheta@gmail.com>
Date:   Tue Jan 3 18:41:30 2017 +0000

    Disable output in tester.

commit 9f4af9685a36fbebc5a71b6d39130c2d2b30bc05
Author: Dominik Picheta <dominikpicheta@gmail.com>
Date:   Tue Jan 3 18:30:38 2017 +0000

    Attempt at fixing tests.

commit d0de031d1ce11be0f106eb6d92885b6833ce95b0
Author: Dominik Picheta <dominikpicheta@gmail.com>
Date:   Tue Jan 3 18:16:40 2017 +0000

    Testing.
2017-01-03 18:41:51 +00:00
Dominik Picheta
4d7b3081a8 Fixes tests. 2017-01-03 18:02:55 +00:00
Dominik Picheta
2f45eab060 Fixes #301. 2017-01-03 17:43:59 +00:00
Dominik Picheta
040189dfca Define new symbol to support distros in older Nimble versions. 2017-01-03 17:06:18 +00:00