Dominik Picheta
fe252c6ed6
Fixes #432 . Fixes #672 .
2019-09-22 16:37:47 +01:00
Ivan Bobev
2ec470d287
Clear unused imports
...
Related to #680
2019-09-07 12:08:15 +01:00
Ganesh Viswanathan
fb57d47421
Fix #640 - strip out blank spaces
2019-09-04 13:17:17 -05:00
Ganesh Viswanathan
016f42c34a
Fix issue #597 - error if bin is a source file
2019-06-02 12:01:49 +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
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
9f4081e888
Softened package structure rules when srcDir is not specified.
...
Fixes #469 .
2018-09-10 00:24:20 +01:00
Dominik Picheta
fb879efb72
Binary packages no longer install .nim files implicitly. Refs #469 .
2018-09-09 23:24:53 +01:00
Dominik Picheta
182893c529
Show better error when standard library cannot be found.
2018-01-09 21:56:12 +00:00
Chris
74856a8708
Prevent reserved names on Windows from being package names.
...
Fixes #349
2017-12-22 11:31:33 -05:00
Dominik Picheta
c7b97bb206
Implements check command.
2017-10-15 15:28:29 +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
97dc0ffb45
Implements basic support for building with .nimble-link'ed packages.
2017-08-16 22:22:00 +01:00
Dominik Picheta
612c084688
Improvements to #385 .
2017-08-12 14:50:32 +01:00
Yuriy Glukhov
06a94ba28f
Lower memory consumption
2017-08-07 17:22:47 +03:00
Zach Smith
2a7e1f132c
Code Review from @dom96
2017-06-26 17:12:46 -04:00
Zach Smith
183fed527b
Make conventional structure more explicit in structure warnings and readme
2017-06-25 16:31:34 -04:00
Dominik Picheta
c4d294ca9b
Fixes #319 .
2017-01-29 20:47:47 +01:00
Dominik Picheta
dda0c39e34
Fixes #304 .
2017-01-03 19:25:36 +00:00
Dominik Picheta
4d7b3081a8
Fixes tests.
2017-01-03 18:02:55 +00:00
Dominik Picheta
2f45eab060
Fixes #301 .
2017-01-03 17:43:59 +00:00
Dominik Picheta
53856db8ff
Fixes tests.
2016-12-27 13:54:54 +00:00
Dominik Picheta
432c91b938
Renamed myVersion to version and version to specialVersion.
2016-12-27 13:27:08 +00:00
Dominik Picheta
d192de6511
Fixes version conflicts when building between special&non-special.
...
Refs #289 . Aporia still cannot be installed. In addition,
the myVersion vs. version should be refactored into version vs.
specialVersion.
2016-12-27 00:42:05 +00:00
Dominik Picheta
f29a25a10d
Implements #144 . Warnings are now issued for incorrect namespacing.
2016-12-26 18:09:19 +00:00
Dominik Picheta
1d0f28e321
Preserve special versions in package installations. Ref #88 .
2016-12-23 19:09:54 +01:00
Dominik Picheta
36e7bfba19
Use the cli module everywhere.
2016-12-22 17:12:45 +01:00
Dominik Picheta
8f34336e91
Add hints for NimbleErrors which help the user fix them.
2016-12-22 16:49:24 +01:00
Dominik Picheta
9be27cd665
Display suppressed messages tip only when an error occurred.
2016-12-21 22:18:11 +01:00
Dominik Picheta
17ddbc3214
Add colons to non-verb categories in cli.display.
2016-12-21 22:11:47 +01:00
Dominik Picheta
5fe69b389f
Improvements to existing CLI messages.
2016-12-21 00:17:56 +01:00
Dominik Picheta
c16c0b8864
Use CLI in packageparser.
2016-12-20 23:25:56 +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
2eec391732
Fixes getInstalledPkgs returning minimal package information.
...
This was introduced in commit 2cf03313fd .
2016-10-26 20:10:17 +02:00
Dominik Picheta
65dbd97269
Moves nimbleVersion to common.nim and uses it in .nimble file.
2016-10-09 15:19:42 +02:00
Yuriy Glukhov
36d09de320
Fixed FD leak.
2016-04-06 15:21:55 +03:00
Dominik Picheta
ac1714ffef
Fixes infinite loop. Ref @zielmicha/reactor.nim#1.
2016-01-10 00:36:02 +00:00
Dominik Picheta
1fa209a689
Fix tests. Add test for hooks.
2015-12-30 20:20:04 +00:00
Dominik Picheta
42ef358459
Various optimisations to PackageInfo reading and bug fixes.
...
* PackageInfo objects are now cached because NimScript evaluation is expensive.
* before/after hooks now return `true` by default.
* Bugfix: when hooks weren't found Nimble would still think that a hook told it
to skip an action.
* PackageInfo now includes info about which hooks are defined to prevent
unnecessary execution of those hooks.
* Probably more.
2015-12-30 19:43:20 +00:00
Dominik Picheta
9bc08236fb
Turn new validation errors in warnings.
2015-12-29 15:59:42 +00:00
Dominik Picheta
ca99ad7d21
Moved Nimble-specific Nimscript definitions to nimscriptapi module.
...
* Moved package info reading procedures to a packageparser module. This is to prevent recu
rsive dependencies between nimscriptsupport and packageinfo modules.
* Passed the Options object to all procedures which read package info (necessary for nimscriptsupport module, to find the path of the nimscriptapi module)
* Introduced an ``isInstalled`` field to the ``PackageInfo`` type. This is a bug fix for g
etRealDir: it no longer uses the ``src`` field in the path it returns for installed packag
es' PackageInfo objects.
* Improved error reporting from NimScript evaluator.
* Renamed compiler/options import to ``compiler_options`` in ``nimscriptsupport`` module.
* Backward compatibility for .babel packages in getNameVersion proc.
* Introduced a getInstalledPkgsMin procedure which does not read package info, but only pr
ovides minimal info instead.
2015-12-28 16:33:34 +00:00