Commit graph

659 commits

Author SHA1 Message Date
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
Yuriy Glukhov
88b4a9ed8a Introduced NimbleLink object with its read/write routines 2017-09-09 23:33:31 +03:00
Yuriy Glukhov
9068e8e43a Added a test 2017-09-09 23:15:08 +03:00
Yuriy Glukhov
5a739b4c03 Fixes #403 2017-09-08 17:44:04 +03:00
Dominik Picheta
fc81b5b58e Update repo info docs in readme. 2017-09-06 22:35:09 +01:00
Dominik Picheta
5b82e06d00 Version 0.8.8. v0.8.8 2017-09-03 18:26:17 +01:00
Dominik Picheta
d9b174b7df Work around NimScript eval problems by caching better. 2017-09-03 17:44:15 +01:00
Dominik Picheta
301a366dd2 Refactoring and many fixes to PR #378. (Broken)
This commit is broken due to a cleanup issue with NimScript eval.
2017-09-03 17:37:52 +01:00
Dominik Picheta
6a851f5b87 Merge branch 'master' of https://github.com/Nycto/nimble into Nycto-master 2017-09-03 15:16:04 +01:00
Dominik Picheta
92e9ec5e59 Fixes #373. Implements #287. Fixes #271. 2017-09-02 23:19:03 +01:00
Dominik Picheta
3c1e669eaa Only consider #head to be newest not other special versions.
Refs #311.
2017-09-02 15:39:57 +01:00
Dominik Picheta
9d0b978845 Fixes readme formatting. 2017-08-28 23:18:46 +01:00
Dominik Picheta
43489da1f2 Added implementation details about .nimble-link files to readme. 2017-08-28 23:03:49 +01:00
Dominik Picheta
cd01b1e221 Merge pull request #396 from FedericoCeratto/patch-2
Add completion for zsh
2017-08-24 21:02:29 +01:00