Dominik Picheta
1db54cc736
Fixes some small input validation errors and help text.
2019-09-22 18:11:28 +01:00
Dominik Picheta
da3f70cb98
Fixes #713 and adds test for --depsOnly.
2019-09-22 11:48:00 +01:00
Dominik Picheta
c834faf60e
Implements nimble run. Fixes #614 .
2019-09-21 23:34:02 +01:00
Dominik Picheta
36c4a39674
Temp files are no longer removed when --debug is present.
2019-09-21 22:54:08 +01:00
Dominik Picheta
445ecfe946
Fixes #649 . The dump command now has implicit -y.
2019-09-21 13:02:04 +01:00
Ivan Bobev
2ec470d287
Clear unused imports
...
Related to #680
2019-09-07 12:08:15 +01:00
SolitudeSF
5ec2ecea77
Add passNim/p flag to pass compiler flags explicitly.
...
Remove redundant buildFromDir overload.
2019-07-27 19:18:39 +01:00
Ganesh Viswanathan
d800fb4525
Fix object variants - nim issue 1286
2019-05-31 16:58:54 -05:00
Julian Fondren
5b94a1b70c
test -c,--continue option to continue tests on error
2019-05-04 18:58:12 -05:00
LemonBoy
cd5db600dc
Fix problem in briefClone
...
It was too brief. So brief that forgot to copy some important fields.
2019-02-14 19:22:36 +01:00
genotrance
88f5545c75
Allow removal of reverse dependencies with uninstall --deps flag ( #601 )
...
* Fix for #398
* Updated fix for #398
* Enable uninstall of reverse deps
* Update README
* Updates based on feedback
2019-01-08 19:58:19 +00:00
Clyybber
66d79bf9a0
Replace deprecated procs ( #560 )
...
* Replace deprecated procs
* Remove deprecated proc
* Use sugar instead of future
* Use sugar instead of future 2
* Remove renameBabelToNimble
since it wasn't exported or used anyways
* Use sugar instead of future 3
* Use toUnix
2018-10-14 17:45:18 +01:00
Christopher Pridgen
260eb854fd
Fixes #503 by creating directory if current and name differ
2018-09-04 21:21:41 -04:00
Dominik Picheta
d606867da6
Fixes #436 . Develop clones HEAD and full history.
2018-09-02 01:11:50 +01:00
trialism
eecf4f95b3
Improved handling of proxy environment variables
2018-08-17 13:00:55 +02:00
Willi Schinmeyer
9fb0e557f2
document that nimble init uses the current directory
2018-03-31 20:12:07 +02:00
Xiao-Yong Jin
898d4de826
noColor if stdout is not a tty
2018-03-27 11:46:22 -05: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
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
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
Dominik Picheta
c7b97bb206
Implements check command.
2017-10-15 15:28:29 +01:00
Dominik Picheta
fc6912a139
Verify that GIT hash was retrieved correctly during compilation.
2017-09-30 13:49:59 +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
acbce88bac
Fixes cloning repo for develop command.
2017-08-19 22:03:45 +01:00
Dominik Picheta
56dd401831
Implements develop command. Refs #240 .
2017-08-13 15:04:40 +01:00
Yuriy Glukhov
06a94ba28f
Lower memory consumption
2017-08-07 17:22:47 +03:00
Nycto
254658ee5d
Add test target
2017-07-18 09:26:52 -07: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
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
Andrea Ferretti
2e9c50e487
Fixed https://github.com/nim-lang/nimble/issues/339
2017-04-07 15:09:13 +02:00
Dominik Picheta
850304ffcb
Fixes #189 .
2016-12-30 12:43:52 +00:00
Dmitry Polienko
871252d202
Update usage message
2016-12-30 15:06:20 +07:00
Dominik Picheta
36e7bfba19
Use the cli module everywhere.
2016-12-22 17:12:45 +01:00
Dominik Picheta
c0f2bd03b1
More use of the cli module.
2016-12-22 16:30:24 +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
22929add07
Spice up the prompts.
2016-12-21 22:56:39 +01:00
Dominik Picheta
87d6f85aea
Implement debug messages and wrap exec output in them.
2016-12-21 20:09:53 +01:00
Dominik Picheta
2dab010c23
Implement --verbosity switch.
2016-12-20 00:01:39 +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
d42a07e0f7
Fixes nimbledata.json being read from default nimbleDir.
2016-12-15 23:31:45 +01:00
Araq
ee3ad4353e
fixes a 'break search loop' bug; got rid of most compiler warnings
2016-11-06 23:06:37 +01:00
Dominik Picheta
65dbd97269
Moves nimbleVersion to common.nim and uses it in .nimble file.
2016-10-09 15:19:42 +02:00
Jeff Ciesielski
29d69e9cc7
Add tilde expansion to nimbleDir. Fixes #239
2016-09-15 09:00:04 -04:00
def
f6a19b54e4
Fix --depsOnly
2016-06-08 16:28:24 +02:00
Andreas Rumpf
e9e6f814d0
Hotfix: make nimble compile with nim devel again
2016-05-31 09:58:27 +02:00
tormund
cec74dbdcc
add install only dependencies
2016-05-23 14:47:15 +03:00