Commit graph

759 commits

Author SHA1 Message Date
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) v0.10.0
* Update changelog for 0.10.0

* Multi-user systems

* Minor fixes

* Update changelog.markdown
2019-05-27 19:29:19 +01:00
Dominik Picheta
a4eaa5d3d2
Merge pull request #656 from cdunn2001/master
Choose USER-specific tmpdir
2019-05-27 11:24:31 +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
Dominik Picheta
6479316bd5
Merge pull request #646 from genotrance/nocompiler-recursive-test
Test case for #645 - recursive
2019-05-03 22:42:48 +01:00
Ganesh Viswanathan
dcf99adf91 Test case for #645 - recursive 2019-05-03 13:06:42 -05:00
Dominik Picheta
7fd3148cc7
Merge pull request #645 from genotrance/nocompiler-fixes-3
Fix nocompiler for recursive nimble calls
2019-05-03 09:39:13 +01:00
Ganesh Viswanathan
83a1cceb4e Fix for recursive nimble calls 2019-05-02 13:42:59 -05:00
genotrance
a437fd33c4
Merge pull request #643 from genotrance/nocompiler-fixes-2
Print nimscript errors
2019-05-01 07:52:04 -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
Andreas Rumpf
c8d79fc022
update the installation instructions 2019-03-26 10:06:06 +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
Arne Döring
587402fa1d
Merge pull request #613 from LemonBoy/x1
Fix a handful of annoying things
2019-03-16 20:30:00 +01: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
Timothee Cour
61e6afe167 brew doesn't require sudo 2019-02-01 20:06:47 +01:00
Dominik Picheta
e60ab12549
Merge pull request #604 from alaviss/no-pkglist
config: don't error out if no package list found
2019-01-20 08:23:12 -08: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
markfirmware
68bb97f30a Update readme.markdown (#596) 2018-12-18 08:49:49 +01:00
Dominik Picheta
9e87cb77a8
Merge pull request #593 from yglukhov/fix-findExe
Fixed findExe in nimscript
2018-12-14 00:09:44 +00:00
Yuriy Glukhov
22485bbd6a Fixed finExe in nimscript 2018-12-13 19:15:10 +02:00
technicallyagd
119be481df Additional information on Nim compiler integration (#554)
* Additional information on Nim compiler integration

* Move the information to a dedicated section

Emphasize the fact that no extra step is required if using default `nimbleDir`.

* Adds changes requested

* NimblePath to nimblePath for consistency

* Update readme.markdown
2018-12-10 22:51:43 +00: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
Dominik Picheta
f7373e03d5
Merge pull request #552 from LemonBoy/develop-uri
Don't prepend file:// twice
2018-10-09 00:21:50 +01:00
LemonBoy
a218bc3793 Don't prepend file:// twice 2018-10-08 21:31:25 +02:00
Dominik Picheta
af1c1d73c3 Version 0.9.0. v0.9.0 2018-09-19 23:53:27 +01:00
Dominik Picheta
1f79f17de9
Merge pull request #545 from braunse/master
Properly guard access to NimCompilerApiVersion.
2018-09-15 23:30:46 +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
Andreas Rumpf
ee4c0aef26
Merge pull request #538 from nim-lang/handle-remove-dir-error
Handle remove dir error
2018-09-12 14:32:11 +02:00
Dominik Picheta
3ba8bd940d Fixes Nimble installation problem due to breaking change (090917926). 2018-09-11 23:35:59 +01: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
0909179261 Breaking change: hybrid packages require installExt = @["nim"]. 2018-09-10 21:46:10 +01:00
Dominik Picheta
9f4081e888 Softened package structure rules when srcDir is not specified.
Fixes #469.
2018-09-10 00:24:20 +01:00