Commit graph

672 commits

Author SHA1 Message Date
Andreas Rumpf
02945e57b5 prepare Nimble for the upcoming compiler API (#489)
* prepare Nimble for the upcoming compiler API changes

* attempt to make tests green

* make some tests green with the upcoming compiler API
2018-05-14 11:35:30 +01:00
Andreas Rumpf
e2869714b8 prepare Nimble for the upcoming compiler API changes (#488)
* prepare Nimble for the upcoming compiler API changes

* attempt to make tests green
2018-05-13 19:07:27 +01:00
Ahmed T. Youssef
b86dca4105 Add link to the Pull request after nim publish (#483)
* Add link to the pull requests page

* Add version bump

* inline PR url in the nim publish output

* Small fixes on top of PR.
2018-05-04 16:53:39 +01:00
Dominik Picheta
c249f9b836
Merge pull request #471 from mrwonko/docs/init-directory
document that nimble init uses the current directory
2018-04-01 00:15:02 +01:00
Willi Schinmeyer
9fb0e557f2 document that nimble init uses the current directory 2018-03-31 20:12:07 +02:00
Dominik Picheta
287fa0fe59
Merge pull request #470 from jxy/notty_nocolor
noColor if stdout is not a tty
2018-03-27 18:38:50 +01:00
Xiao-Yong Jin
898d4de826 noColor if stdout is not a tty 2018-03-27 11:46:22 -05:00
Dominik Picheta
347b6b7ab1
Merge pull request #467 from shinriyo/patch-2
for a sense of unity.
2018-03-22 11:11:05 +00:00
Dominik Picheta
35c12cd972
Fixes to PR. 2018-03-21 11:10:23 +00:00
shinriyo
21357d3fa5
apply review feedback
I fix.
2018-03-21 12:09:24 +09:00
shinriyo
bf49330d2c
for a sense of unity.
another is .nimble. so I modified.
2018-03-20 11:39:56 +09:00
Dominik Picheta
75b7a215e8
Merge pull request #462 from k0pernicus/master
Add a new troubleshooting solution about _alert handshake failure_ errors
2018-02-27 18:55:26 +00:00
k0pernicus
64eb274198 Add a new troubleshooting 2018-02-26 18:46:29 +01:00
Dominik Picheta
6a2da5627c Version 0.8.10. v0.8.10 2018-02-23 23:15:12 +00:00
Dominik Picheta
cf1b83792d Run travis tests against 0.17.2 instead of 0.17.0. 2018-02-23 22:44:57 +00:00
Dominik Picheta
7e3058657c Fixes problem with subdirs and 'develop'. Documents package urls. 2018-02-23 22:43:28 +00:00
Dominik Picheta
25ffe273f7 Implements #421. 2018-02-23 22:27:14 +00:00
Dominik Picheta
7d3f3f9127 Fixes #445. 2018-02-21 20:22:32 +00:00
Dominik Picheta
383e4fd7bc Merges #450 manually with some adjustments. 2018-02-21 19:06:42 +00:00
Dominik Picheta
0a205d3868
Merge pull request #454 from yglukhov/path-fix
Fixed nimble path
2018-01-30 15:07:11 +00:00
Yuriy Glukhov
d00f59708a Fixed nimble path 2018-01-30 17:01:31 +02:00
Dominik Picheta
2b9215256b Show friendly error message when stdlib is outdated. 2018-01-27 15:37:51 +00:00
Dominik Picheta
fd84b139bd Fixes breaking changes in 0.18.0. 2018-01-27 15:37:51 +00:00
Ganesh Viswanathan
5dc0404dee Fix for #398 (#451)
* Fix for #398

* Updated fix for #398
2018-01-15 11:17:40 +00:00
Dominik Picheta
3dae26447e Improve project structure docs. 2018-01-14 16:01:51 +00:00
Dominik Picheta
6354132959 Implement nimLibPrefix config var and add better messages for it. 2018-01-09 22:32:08 +00:00
Dominik Picheta
c271435a84 Lower priority of messages from NimScript parser. 2018-01-09 21:57:39 +00:00
Dominik Picheta
182893c529 Show better error when standard library cannot be found. 2018-01-09 21:56:12 +00:00
Dominik Picheta
c8cd1d9286
Merge pull request #448 from genotrance/#280
Fix for #280
2018-01-08 13:20:49 +00:00
Ganesh Viswanathan
4770556939 Fix for #280 2018-01-08 00:37:20 -06:00
Dominik Picheta
133003ef54
Merge pull request #447 from nc-x/446
Fix #446
2018-01-05 14:45:49 +00:00
Neelesh Chandola
3cc9c4b2f5
Fix #446 2018-01-05 18:52:57 +05:30
Dominik Picheta
18da3c8b4c
Merge pull request #442 from antizealot1337/issue349
Prevent reserved names on Windows from being package names
2017-12-22 17:43:54 +00:00
Chris
74856a8708 Prevent reserved names on Windows from being package names.
Fixes #349
2017-12-22 11:31:33 -05:00
Xiao-Yong
e32e2cdcbe Initialize nimbleDir option from the environment variable NIMBLE_DIR (#417)
* Initialize options from the environment variable NIMBLE_DIR

* Tests for the existence of project.nim file

Matches nim's command line handling of 'nim c project'
The error message also states the files being tested.

* Fix deprecated warnings (#420)

* Fix deprecated warning

* Fix deprecation warnings

* Initialize options from the environment variable NIMBLE_DIR

* inform user about using NIMBLE_DIR env
2017-12-21 23:43:59 +00:00
Fabian Keller
209fca53e7 Terminate copy iteration when hitting in-place nimbleDir (#429)
* terminate copy iteration when hitting in-place nimbleDir; fixes #428

* investigate travis issue

* more investigations

* more investigations

* fix nim version issue
2017-12-21 23:15:03 +00:00
Dominik Picheta
0e09f69334
Merge pull request #431 from bluenote10/clean_working_dir
gitignore files produced by tests
2017-12-21 23:12:43 +00:00
antizealot1337
4cc1d44bdd Reuse -y to mean accept defaults for init command for #288 (#437)
* Reuse -y to mean accept defaults for init command

* Change cli.promptCustom to accept a ForcePrompt value and delegate prompting responsiblity to it

* Add prompt for different license selection

* Remove extra spaces in category in promptCustom and promptList

* Fix bug that always returned MIT

* Add LGPL3 to array of licenses

* Change to not prompt at all for package name

* Change to not prompt for author if acquired from vcs and moved before prompting for version

* Reduce excess indenting

* Create tools.writeContents to contain file writting functionality and use it to write the nimble file

* Create package src directory and add it to the nimble file

* Write an initial source file

* Create directory and files needed for testing

* Add package created message and change priority of nimble file creation

* Rearrange args for promptCustom and add another promptCustom function that doesn't accept ForcePrompt

* Add package type prompt, remove writeContents proc, rename initial test file, provide alternate initial file contents based on type, and other minor improvements
2017-12-21 23:11:02 +00:00
Fabian Keller
3d0d1fe9a4 gitignore files produced by tests 2017-11-13 20:30:00 +01:00
Daniil Yarancev
f852198724 Fix deprecated warnings (#420)
* Fix deprecated warning

* Fix deprecation warnings
2017-11-01 19:07:40 +00:00
Dominik Picheta
35327876c0 Merge pull request #418 from jxy/autoext
Tests for the existence of project.nim file
2017-10-23 22:15:30 +01:00
Xiao-Yong Jin
8ca1cc0957 Tests for the existence of project.nim file
Matches nim's command line handling of 'nim c project'
The error message also states the files being tested.
2017-10-23 15:51:32 -05:00
Xiao-Yong
4992707e8b Put "nimblepkg/nimscriptapi.nim" under nimbleDir, fix #363 (#416)
* Put "nimblepkg/nimscriptapi.nim" under nimbleDir, fix #363

By default, the module will be under
  $HOME/.nimble/nimblecache/nimblepkg/nimscriptapi.nim
and the following directory will be in the searchPaths
  $HOME/.nimble/nimblecache/

* Put "nimblepkg/nimscriptapi.nim" under nimbleDir, fix #363

By default, the module will be under
  $HOME/.nimble/nimblecache/nimblepkg/nimscriptapi.nim
and the following directory will be in the searchPaths
  $HOME/.nimble/nimblecache/
2017-10-19 18:58:50 +01:00
Dominik Picheta
c7b97bb206 Implements check command. 2017-10-15 15:28:29 +01:00
Dominik Picheta
968e1a20be Merge pull request #411 from Calinou/readme-tweaks
Improve the readme
2017-10-04 11:17:42 +01:00
Hugo Locurcio
7164fca394 Improve the readme
- Improve grammar and spelling
- Capitalize Nimble
- Fix the link to docs/distros.html
- Switch all supporting links to HTTPS
- Link to the license file directly
2017-10-04 10:45:39 +02:00
Dominik Picheta
a02a1431e2 Simplify implementation of path for Nimble links. 2017-09-30 14:16:57 +01:00
Dominik Picheta
596d17804f Merge branch 'fix-403' of https://github.com/yglukhov/nimble into yglukhov-fix-403 2017-09-30 13:51:02 +01:00
Dominik Picheta
fc6912a139 Verify that GIT hash was retrieved correctly during compilation. 2017-09-30 13:49:59 +01:00
Yuriy Glukhov
a247047089 Fixed nondeterminism in version sorting 2017-09-20 18:18:22 +03:00