Commit graph

844 commits

Author SHA1 Message Date
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
Federico Ceratto
555a10dcb8 Add completion for zsh 2017-08-23 18:44:50 +01:00
Dominik Picheta
acbce88bac Fixes cloning repo for develop command. 2017-08-19 22:03:45 +01:00
Dominik Picheta
bdfb681824 Fixes #290. 2017-08-19 21:22:48 +01:00
Dominik Picheta
c46e3dcd4d Speeds up the list -i command. 2017-08-19 21:02:15 +01:00
Dominik Picheta
3bdce8d332 Fixes removal of linked packages (and speeds up removal). 2017-08-19 20:56:29 +01:00
Dominik Picheta
f746f4f0f3 Add docs for nimble develop. 2017-08-18 23:20:30 +01:00
Dominik Picheta
d72045ddc5 Attempt to fix tests. 2017-08-16 23:35:52 +01:00
Dominik Picheta
97dc0ffb45 Implements basic support for building with .nimble-link'ed packages. 2017-08-16 22:22:00 +01:00
Dominik Picheta
5f1de1e4ff Don't fail immediately when user doesn't want to load packages.json. 2017-08-16 22:20:24 +01:00
Dominik Picheta
a5f325f032 Small refactoring. 2017-08-16 19:51:22 +01:00
Dominik Picheta
788f93a4e7 Merge pull request #391 from subsetpark/bugfix-path-values
Don't normalize package list paths. That strips meaningful characters.
2017-08-13 22:44:00 +01:00
Zach Smith
1ef7e49350 Don't normalize package list paths. That strips meaningful characters. 2017-08-13 17:41:56 -04:00
Dominik Picheta
9f0aae0432 Check for Windows compilation in the tester. 2017-08-13 15:11:38 +01:00
Dominik Picheta
56dd401831 Implements develop command. Refs #240. 2017-08-13 15:04:40 +01:00
Dominik Picheta
84d63c8988 Fixes compilation on Windows. 2017-08-13 15:02:09 +01:00