Hitesh Jasani
2243e3fbc2
Fix #567 : Display package versions in sorted order ( #688 )
...
* Fix #567 : Display package versions in sorted order
* Add docs
* Fix docs to focus on git tags
* Refactor to use version module
* Streamline docs
* Refactor to make things work in nim <= 0.19.6
* Improve code readability
2019-08-24 10:15:29 +01:00
Ivan Bobev
f461792686
Fix multiple installs of the same package
...
When one package is dependency both of some other package and some other
dependency of the other package it has been downloaded and installed
multiple times.
Resolves #678
2019-07-29 11:56:09 +01:00
Oisín Mac Fhearaí
522ef4cf12
Unescape package description in nimble init
2019-07-27 21:06:18 +01:00
Oisín Mac Fhearaí
5b7b061465
Remove escaping of author name and package description in nimble init,
...
since it replaces characters used in many names and languages with
escape sequences.
Slightly refactor the code for determining author name, to make it
easier to add other version control systems in future (right now it's
just git and hg).
Also, add some binary test artifacts to .gitignore so they don't accidentally
get committed in future.
2019-07-27 21:06:18 +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
genotrance
added89acc
Fixes #504 ( #683 )
...
* Improve messaging for uninstall
* Uninstall if in right order
* Fix CI - cannot looks better
* Raise exception when nothing to remove
* Test case, minor test fix
* 0.19.6 fixes
* Fix Nim devel hash
* Feedback
2019-07-27 14:37:56 +01:00
Leonardo Mariscal
7c2b9f612e
Update submodules at checkout time to fix #675
2019-07-16 20:36:39 +01:00
liquid600pgm
153866252d
File not overwritten by example code message
2019-06-22 00:46:21 +01:00
liquid600pgm
192ea12ab9
Output message when file already exists
2019-06-22 00:46:21 +01:00
liquid600pgm
df8317585f
fixed #581 nimble init does not overwrite existing files with its templates anymore
2019-06-22 00:46:21 +01:00
Ganesh Viswanathan
513780a382
Fix #665 - avoid stdout in printPkgInfo
2019-06-11 21:38:27 +01:00
Ganesh Viswanathan
d15c8530cb
Version 0.10.2
2019-06-03 21:06:43 +01:00
genotrance
21616e35a7
Fix issue #655 ( #661 )
...
* Fix issue #655
* Update nimscriptwrapper.nim
2019-06-02 12:12:20 +01:00
Ganesh Viswanathan
016f42c34a
Fix issue #597 - error if bin is a source file
2019-06-02 12:01:49 +01:00
Ganesh Viswanathan
be83dcdca9
Unique nims filename to enable parallelism
2019-06-01 14:27:31 +01:00
Ganesh Viswanathan
cbd63e61de
Fix outfile issue when binary exists
2019-06-01 14:27:31 +01:00
Ganesh Viswanathan
d800fb4525
Fix object variants - nim issue 1286
2019-05-31 16:58:54 -05:00
Taylor Rose
9beb6e1529
Add backend selection to nimble init
2019-05-30 23:53:04 +01:00
genotrance
06b9b49449
Update to 0.10.0 ( #657 )
...
* Update changelog for 0.10.0
* Multi-user systems
* Minor fixes
* Update changelog.markdown
2019-05-27 19:29:19 +01:00
Christopher Dunn
cf7c147121
Choose USER-specific tmpdir
...
re: #80
2019-05-26 12:56:27 -05:00
Dominik Picheta
f17eaef795
Merge pull request #647 from jrfondren/continue-tests-on-error
...
Option to continue tests on failure
2019-05-06 16:28:18 +01:00
Dominik Picheta
ebbafec4dd
Merge pull request #648 from jrfondren/no-hang-on-invalid-projname
...
use displayLine rather than display with displayCategory prompt
2019-05-05 11:00:59 +01:00
Julian Fondren
b2e31fb012
use displayLine rather than display with displayCategory prompt
2019-05-04 19:30:55 -05:00
Julian Fondren
5b94a1b70c
test -c,--continue option to continue tests on error
2019-05-04 18:58:12 -05:00
Ganesh Viswanathan
83a1cceb4e
Fix for recursive nimble calls
2019-05-02 13:42:59 -05:00
Ganesh Viswanathan
deb20ee57a
Print nimscript errors
2019-04-30 21:29:04 -05:00
genotrance
ca779afb20
Fix quoted switch, multi-line description, more caching ( #642 )
...
* Fix quoted switch, multi-line description, more caching
* Incorporate feedback
2019-04-30 20:59:12 +01:00
Dominik Picheta
6542c1ef16
Squashed merge of #635 by @genotrance.
...
Squashed commit of the following:
commit e86a376f2faf9d26109405a3a9f73f986185f62d
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Sun Apr 28 15:37:22 2019 -0500
Fix caching issue
commit 640ce3f2e464e52668b5350fdc5a8fe506e79d38
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Thu Apr 25 18:38:48 2019 -0500
Clean up per feedback
commit ae3ef9f7a0cbad574b725d1bc7a83bd6115e19cc
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Thu Apr 25 16:39:26 2019 -0500
Fix for 0.19.4
commit 915d6b2be43e33bc51327585193b1899386ee250
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Thu Apr 25 16:13:42 2019 -0500
Keep nimscript separate, pin devel
commit c278bd6ba09771dc079029a87e3a375998f0b447
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Mon Apr 22 14:57:44 2019 -0500
Hardcode version, json{}, code width 80, isScriptResultCached, no blank paramStr check
commit 64e5489e256d5fc5abbfe3345789f65edf5980b7
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Wed Apr 17 21:07:03 2019 -0500
Remove compiler dependency
commit a031fffd70c118c16eb3e16d3b1ed10472baf5d7
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Wed Apr 17 16:49:09 2019 -0500
Add devel to travis
commit d49916e2a05b6bd7716f45bd8f74253fc8037827
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Wed Apr 17 16:43:14 2019 -0500
Interactive live, json to file
commit 24131deea4693199922f9a5697aa3d072cceaee1
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Wed Apr 17 12:40:27 2019 -0500
Fix empty param, json echo
commit b22fe37d47fd03367d49129ea4d2d56a779a6f26
Merge: 5cf0240 2942f11
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Tue Apr 16 22:23:17 2019 -0500
Merge branch 'nocompiler' of https://github.com/genotrance/nimble into nocompiler
commit 5cf0240b728ab6ff4a39ddf629ba5833eb8985f5
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Tue Apr 16 22:23:06 2019 -0500
No hints, live output
commit 2942f116c7774e0fa91f770cebde32bc431923a5
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Tue Apr 16 21:02:28 2019 -0500
Remove osx, test with stable
commit 85f3865ef195c7b813f0b9e30b5cc8c9b2756518
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Tue Apr 16 18:19:42 2019 -0500
Remove ospaths, fix tests for Windows
commit 74201bcfe4de00bdece5b31715618975f9ce8e6e
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Tue Apr 16 14:00:14 2019 -0500
No success for missing task
commit 8c2e65e223d32366b03004d9711364504c5d7916
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Tue Apr 16 13:44:32 2019 -0500
Fix packageName to name
commit b05d9480281ebae7a0f5fd0331c8627bbf2a77d5
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Tue Apr 16 13:29:37 2019 -0500
Add switch support
commit deecd903102a9baa5d4674cb9871cd9dbb658a04
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Tue Apr 16 12:24:01 2019 -0500
API cleanup, json setCommand fix
commit 1e95fd4104ec3ffb69fe67b9c2fac23f991e163a
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Tue Apr 16 10:45:12 2019 -0500
getParams once, hash nimscriptapi, fix loop in setcommand
commit 51d03b3845cd562796bb32d41d5ad17cd09a91e7
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Tue Apr 16 07:21:32 2019 -0500
getPkgDir impl
commit 7d0a40aa286d114d7557b229852f3c314795dc5d
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Mon Apr 15 14:24:02 2019 -0500
Before/after hook info
commit cbb3af3e970b20322030331d4849436b821f25ca
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Mon Apr 15 13:44:56 2019 -0500
Remove nims from package dir after exec
commit 0ed53d60bcdc8bb11beddb965590ed3ee63349d4
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Sat Apr 13 00:44:26 2019 -0500
Return bool from hooks
commit ab38b81b81e68cfccf3ca84fd854422cd3733c84
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Fri Apr 12 23:20:13 2019 -0500
Initial version
commit b9ef88b9f79b48435e7b4beeff959b4223f4b8ba
Merge: 220ebae c8d79fc
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Tue Mar 26 20:16:21 2019 -0500
Merge remote-tracking branch 'upstream/master' into nocompiler
commit 220ebae355c945963591b002a43b262a70640aa5
Merge: 3d7227c 119be48
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Wed Dec 12 18:02:10 2018 -0600
Merge remote-tracking branch 'upstream/master'
commit 3d7227c8900c205aada488d60565c90e17759639
Merge: cf7263d 66d79bf
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Wed Oct 17 13:39:51 2018 -0500
Merge remote-tracking branch 'upstream/master'
commit cf7263d6caf27ca4930ed54b05d4aa4f36e1dff1
Merge: 2fc3106 ee4c0ae
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Thu Sep 13 23:03:41 2018 -0500
Merge remote-tracking branch 'upstream/master'
commit 2fc310623b9f49ea012fc04fa09713fda140a7a3
Merge: e9a8850 c249f9b
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Thu Apr 26 16:27:31 2018 -0500
Merge remote-tracking branch 'upstream/master'
commit e9a885099b0b97bf3e0cddcde27e8c6b0bd51b10
Merge: 7adfd7b 75b7a21
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Thu Mar 8 14:26:46 2018 -0600
Merge remote-tracking branch 'upstream/master'
commit 7adfd7be2b38a52886640579845de378139ca0cc
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Mon Jan 15 00:35:55 2018 -0600
Updated fix for #398
commit de18319159b76a9da6765f35ea4d2e2c963d688a
Merge: 93ba4a0 3dae264
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Sun Jan 14 22:01:20 2018 -0600
Merge remote-tracking branch 'upstream/master'
commit 93ba4a00820ccb9a5362f0398cf3b5b4782bbefe
Author: Ganesh Viswanathan <dev@genotrance.com>
Date: Sat Jan 13 19:52:34 2018 -0600
Fix for #398
2019-04-29 23:03:57 +01:00
Dominik Picheta
c6f1417099
Revert "Enforce the execution of the correct task types"
...
This reverts commit ee0bf06f01 .
2019-03-17 11:28:19 +00:00
Dominik Picheta
5749f82ca5
Revert "Add before/after hooks for build action"
...
This reverts commit 2fc3efcd84 .
2019-03-17 11:27:50 +00: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
LemonBoy
1c8919092e
Warn the user if no tests are found
...
Fixes #558
2019-02-14 11:32:00 +01:00
LemonBoy
2fc3efcd84
Add before/after hooks for build action
...
Fixes #606
2019-02-14 11:15:52 +01:00
LemonBoy
ee0bf06f01
Enforce the execution of the correct task types
...
Fixes #533
2019-02-14 10:58:01 +01:00
LemonBoy
1678142723
Fix regression in version string parsing ( #563 )
2019-02-14 10:15:52 +01:00
Ico Doornekamp
3d6dc90cd4
Strip whitespace from authentication token.
...
My token had a newline in the file, resulting in the following HTTP
request being made to Github:
```
GET /user HTTP/1.1
Host: api.github.com
Connection: Keep-Alive
authorization: token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
content-type: application/x-www-form-urlencoded
accept: */*
user-agent: Nim httpclient/0.19.9
```
Unfortunately the friendly error message returned by the Github server
is lost in translation because getContent() throws an exception, never
handling the body.
2019-02-04 21:54:50 +00:00
Leorize
4be5308941
config: don't error out if no package list found
2019-01-20 15:53:06 +07: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
Yuriy Glukhov
22485bbd6a
Fixed finExe in nimscript
2018-12-13 19:15:10 +02:00
Matt Haggard
ba6577d36c
Don't swallow control-C ( #588 )
...
* Don't swallow control-C
* Raise NimbleError instead of quitting
* Import NimbleError from common rather than version
2018-11-30 01:08:02 +00:00
Dominik Picheta
d9055dbac6
Use fgDefault instead of setting bg/fg.
2018-11-21 23:27:29 +00:00
juancarlospaco
5103541195
Just add a simple arrow
2018-11-20 13:59:49 -03:00
juancarlospaco
10260a1223
Fix #579
2018-11-12 03:36:45 -03:00
Jabba Laci
22aa3c1d13
#555 : nimble test removes the created binaries ( #566 )
2018-10-19 23:40:41 +01: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
LemonBoy
a218bc3793
Don't prepend file:// twice
2018-10-08 21:31:25 +02:00
Dominik Picheta
af1c1d73c3
Version 0.9.0.
2018-09-19 23:53:27 +01:00
Sebastien Braun
964af450dd
Properly guard access to NimCompilerApiVersion.
...
Makes master compile on latest released Nim 0.18.0.
2018-09-15 21:36:33 +02:00
Dominik Picheta
c09b273eaf
Handle removeDir error when removing Nimble's temp dir.
...
Replaces #537 .
2018-09-11 21:11:41 +01:00
Dominik Picheta
9f4081e888
Softened package structure rules when srcDir is not specified.
...
Fixes #469 .
2018-09-10 00:24:20 +01:00