flywind
9fb7467fda
fix #15006 ( #15007 )
2020-07-17 10:53:26 +02:00
Timothee Cour
695154970d
deprecate existsDir; use dirExists instead ( #14884 )
2020-07-03 23:04:23 +02:00
Timothee Cour
dc5a40f3f3
{.deprecated: [existsFile: fileExists].} ( #14735 )
...
* {.deprecated: [existsFile: fileExists].}
* s/existsFile/fileExists/ except under deps
* workaround pending #14819
* fix test
2020-07-02 16:19:13 +02:00
Timothee Cour
45cac4afda
fix #14179 , fix #14142 , make CI 1.4x faster (2x faster locally) ( #14658 )
...
* fix #14142 : no more clash with: import os + use of existsDir/dirExists/existsFile/fileExists/findExe in config.nims
* remove a comment
* Revert "fixes the regression #12860 caused; hotfix"
This reverts commit 3d2459bdc0 .
* Revert "Undefine `paramCount` & `paramStr` in nimscript.nim for *.nims (#12860 )"
This reverts commit d38853c504 .
* noNimScript => noWeirdTarget + noNimJs
2020-06-16 08:56:12 +02:00
Kaushal Modi
0880f118d3
Document that proc named fooTask is created for every foo task [backport] ( #14187 )
...
Ref: https://irclogs.nim-lang.org/01-05-2020.html#15:18:03
2020-05-02 17:50:27 +02:00
Araq
3d2459bdc0
fixes the regression #12860 caused; hotfix
2020-04-30 20:23:53 +02:00
Neelesh Chandola
d38853c504
Undefine paramCount & paramStr in nimscript.nim for *.nims ( #12860 )
...
* Remove `paramStr` and `paramCount` from implicitly imported nimscript.nim
* Update changelog.md
* Update stable nimble commit hash
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2020-04-27 19:16:40 +02:00
Timothee Cour
1d665adecd
[RFC] 'walkDir' now has a new 'checkDir' flag, to mimic behaviour of other languages ( #13642 )
...
Co-authored-by: narimiran
2020-03-20 16:39:55 +01:00
genotrance
bbc231f8e0
Fix #12676 ( #13634 )
2020-03-12 08:53:11 +01:00
Jjp137
3ad48069d3
Fix word wrapping
2019-10-22 17:59:12 -07:00
Jjp137
93461aee34
Fix many broken links
...
Note that contrary to what docgen.rst currently says, the ids have
to match exactly or else most web browsers will not jump to the
intended symbol.
2019-10-22 17:59:12 -07:00
Fabian Keller
83397a69fc
Consistent behavior of exec; Improved docs around exec, staticExec, gorgeEx, etc. ( #10967 )
...
* improved docs around exec, staticExec, gorgeEx, etc.
* incorporate review comment; made behavior of exec consistent
2019-08-13 07:41:08 +02:00
Kaushal Modi
7182922622
[feature] Added os.delEnv; add delEnv support to nimscript too ( #11466 )
...
[feature] Fixes https://github.com/nim-lang/Nim/issues/11452 .
2019-06-15 11:32:26 +02:00
Federico Ceratto
7533f3bcbd
Add link to nims.html ( #10472 ) [ci skip]
2019-01-27 17:27:54 +01:00
genotrance
c707267212
Add stdin read support to nimscrit #3983 ( #10292 )
2019-01-14 09:26:10 +01:00
Araq
5cd18b0f24
make system.task compatible with NimScript; refs #10254
2019-01-13 09:04:57 +01:00
Timothee Cour
c4e3c4ca2d
add getCurrentCompilerExe to vmops (eg allows to get nim compiler at CT); add tests for vmops ( #9925 )
2018-12-18 09:07:12 +01:00
Andreas Rumpf
8d850f7a69
deprecated ospaths ( #9665 )
2018-11-09 16:36:49 +01:00
Timothee Cour
7d8e281239
[nimscript] document currentSourcePath in thisDir ( #9402 )
2018-10-18 12:18:40 +02:00
Solitude
027a11d7c8
Add procs to retrieve project name, directory and full path to nimscript ( #9274 )
2018-10-11 09:56:12 +02:00
Dominik Picheta
9ad17091cc
Allow Nimble to override the `task` template in nimscript. ( #8798 )
2018-08-28 23:05:46 +02:00
Timothee Cour
56de4c81b2
fixes #8739 ; allow --hint:foo:on --warning:bar:off ( #8757 )
2018-08-25 07:55:05 +02:00
Zahary Karadjov
7ab1aafc6b
stdlib work
2018-06-16 16:46:32 +03:00
genotrance
f6c8f97fe8
Add a few useful os calls to nimscript ( #7442 )
2018-04-10 18:50:23 +02:00
cooldome
4790b6d63f
Fixes 7283 ( #7284 )
2018-03-05 19:06:47 +01:00
Andreas Rumpf
0895064983
getEnv now supports a 'default' parameter; refs #6019
2017-10-30 17:21:05 +01:00
Andreas Rumpf
5298a72f34
NimScript: added buildOS and buildCPU constants
2017-09-22 13:29:45 +02:00
Andreas Rumpf
f04d21f279
refactoring: explict config state instead of globals
2017-02-01 23:39:40 +01:00
Araq
77d5d0cdfe
NimScript: prepare for future Nimble improvements; should be completely compatible with old and upcoming Nimble versions
2016-12-23 12:26:28 +01:00
Yuta Yamada
b688a5607d
srcdir -> srcDir
2016-09-14 17:57:19 -07:00
Andreas Rumpf
8882b062e1
added selfExe and selfExec for NimScript support
2016-08-05 20:19:15 +02:00
miere43
268ba0ba00
fix several broken links
2016-07-31 21:39:32 +03:00
Andreas Rumpf
5e82ffc8d5
Nimscript: added support for 'patchFile'
2016-07-09 14:26:00 +02:00
Andreas Rumpf
e2267ef5c9
Nimscript supports hint() and warning() procs; refs #3688
2016-07-08 22:24:28 +02:00
Federico Ceratto
d9cb85c2d8
Spellcheck
2016-02-29 11:25:51 +00:00
Dominik Picheta
a01eb098f1
Task proc in nimscript module will now export the proc it creates.
2015-12-24 17:09:58 +00:00
Araq
5c8342eef9
Nimscript fixes 'cpFile' typo
2015-11-03 14:52:36 +01:00
Araq
28b1340f94
fixes 'line too long' warning
2015-10-03 23:19:14 +02:00
Araq
1b7d8246c1
NimScript: setCommand takes an optional project filename
2015-09-29 20:44:12 +02:00
Araq
833a9344fa
NimScript: make the compiler shut up about effects it doesn't know about
2015-09-08 10:22:14 +02:00
Araq
6d654f866d
even better docs
2015-09-08 10:22:13 +02:00
Araq
a480bebfce
Nimscript: documented; 'exec' now produces output immediately
2015-09-07 12:31:35 +02:00
Araq
178275f494
split os into os and ospaths parts; ospaths is available for NimScript; better NimScript support
2015-09-04 12:22:23 +02:00
Araq
a373bdd0c9
improvements for NimScript support
2015-09-03 14:30:11 +02:00
Araq
a2bb7d4c71
simplify nimscript.nim
2015-08-21 01:34:46 +02:00
Araq
9659540b18
preparations for Nimble NimScript integrations; minor cleanups
2015-08-18 14:01:40 +02:00
Araq
69b32637b1
implements experimental new config system based on NimScript
2015-08-16 13:41:30 +02:00