Daniil Yarancev
29c9cf8ce7
Removed deprecated warnings, also tiny refactoring
2017-08-10 12:51:16 +03:00
Yuriy Glukhov
e756a14c15
Fixed branch checkout and handling of branch names with dashes. ( #379 )
...
* Fixed branch checkout and handling of branch names with dashes.
* Added assert
2017-07-19 22:42:28 +01:00
Zach Smith
f2836e5a5c
Roll back downloadFile upgrade
2017-06-25 17:27:56 -04:00
Zach Smith
c89ca099a2
Allow locally stored package list files to be specified in config ( #368 )
2017-06-25 17:10:08 -04:00
Xiao-Yong
a69d7563f4
nimble accepts a .nimble file that is a link
2017-06-07 23:32:42 -05:00
Andreas Rumpf
2bec00a9f3
Merge branch 'master' into native-pkg-support
2017-01-02 20:16:19 +01:00
Dominik Picheta
6b175056df
Fixes #236 .
2017-01-01 15:57:06 +00:00
Araq
6368ccb0df
Merge branch 'master' into native-pkg-support
2016-12-31 02:12:00 +01:00
Dominik Picheta
432c91b938
Renamed myVersion to version and version to specialVersion.
2016-12-27 13:27:08 +00:00
Dominik Picheta
2886059817
Fixes #289 .
2016-12-27 12:19:13 +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
Araq
e813aa6448
Merge branch 'master' into native-pkg-support
2016-12-23 16:01:37 +01:00
Araq
b3b4c6343f
moved new feature to separate 'distros.nim' module
2016-12-23 16:01:10 +01:00
Dominik Picheta
36e7bfba19
Use the cli module everywhere.
2016-12-22 17:12:45 +01:00
Dominik Picheta
9be27cd665
Display suppressed messages tip only when an error occurred.
2016-12-21 22:18:11 +01:00
Dominik Picheta
e3f833d61c
More replacements of 'echo' to CLI's 'display'.
2016-12-21 00:08:42 +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
Aidan Steele
8abf18633d
Package names are case insensitive ( #190 )
2016-04-11 10:39:10 +10: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
835157ce34
Implements configurable package list URLs. Implements #75 .
2015-12-29 13:43:05 +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
Dominik Picheta
84f371982b
Implemented flags and arguments for NimScript's setCommand.
2015-12-25 16:32:46 +00:00
Dominik Picheta
e5573f0096
Make ValidationError for inconsistent nimble project names a warning.
2015-12-24 20:20:19 +00:00
Dominik Picheta
0a1b583392
Fixed tests.
2015-12-24 17:54:58 +00:00
Dominik Picheta
98045ea39c
Better error message when an installed package fails validation.
...
Fixes #175 .
2015-12-24 17:46:46 +00:00
Dominik Picheta
96ddb12da8
Fixes #126 .
2015-12-24 10:26:36 +00:00
Dominik Picheta
20d4a59609
Fixes small bugs introduced by nimscript.
2015-12-24 00:12:04 +00:00
Dominik Picheta
7d5428be19
Improved the init command. Fixes #96 .
2015-12-23 22:40:14 +00:00
Dominik Picheta
dbd478bc20
The .nimble extension is now used for both ini and nims .nimble files.
...
This is done by parsing the .nimble file using the ini parser first, then if that fails evaluating it using nimscript.
2015-12-23 20:48:05 +00:00
Dominik Picheta
6fcbffd1cc
Merge branch 'master' of https://github.com/Araq/nimble into Araq-master
2015-11-07 16:01:19 +00:00
Araq
ffbd5f5b3e
hotfix: nimble builds with devel again
2015-10-13 10:17:02 +02:00
Araq
2cf03313fd
first implementation of NimScript support
2015-09-03 01:50:55 +02:00
Araq
68c1266a44
implemented 'nimble publish'
2015-08-18 12:27:07 +02:00
Dominik Picheta
4ffcdf141e
Fix installation (default output dir changed).
2015-06-04 18:33:38 +01:00
Dominik Picheta
e42b04b329
Fix incorrect type name in packageinfo module.
2015-06-04 18:03:17 +01:00
Dominik Picheta
11f710819c
Rename buildDir to binDir.
2015-06-04 17:57:06 +01:00
Dominik Picheta
ca9a09f07b
Merge branch 'master' of https://github.com/minciue/nimble into minciue-master
...
Conflicts:
developers.markdown
src/nimble.nim
2015-06-04 17:53:48 +01:00
Jean Cavallo
4a56ac60d9
Use str.len-1 rather than -1
2015-03-31 12:21:22 +02:00
Jean Cavallo
87d6f908cc
Fix #110 : use '^' rather than '-' for list negative indexes
2015-03-30 12:19:51 +02:00
Louis Berube
ceb1e48a80
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
src/nimble.nim
2015-01-03 19:04:09 -05:00
Louis Berube
521ee1f696
- Converted types from the old T/P convention
...
- Deleted compat.nim
2014-12-31 10:13:23 -05:00
Louis Berube
383e0f2a4c
Updated source to eliminate stuff deprecated by nim 0.10.2
2014-12-29 15:38:16 -05:00
Eugen Minciu
70f03b2c9b
Output build to the base directory by default.
...
Make nimble build output to the directory where the .nimble file resides
by default.
2014-12-28 21:46:57 +02:00
Eugen Minciu
cce58bd981
Add a builddir option.
2014-12-28 19:47:14 +02:00
Dominik Picheta
adbc30c22e
Renamed babel to nimble.
2014-10-11 22:38:44 +01:00