Antonis Geralis
c0aa951ee0
Fixed nimscript docs ( #23938 )
2024-08-11 10:35:09 +08:00
Antonis Geralis
ad5b5e3ec0
Add warnings about exec usage. ( #23820 )
...
Related to https://github.com/nim-lang/Nim/issues/23819 and also found
in discord
https://discord.com/channels/371759389889003530/371759389889003532/1260845467147829372
Since nothing can be done, besides deprecating the function, a warning
is a better option.
---------
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com >
2024-07-17 08:45:52 +02:00
daylin
c3b95cbd2c
docs: add another switch example for nimscript ( #22772 )
...
I couldn't find any documentation on the syntax for --hint:X:on|off with
`nimscript` except in [this old forum
post](https://forum.nim-lang.org/t/8526#55236 ).
2023-09-30 14:53:09 +02:00
Andrey Makarov
a660c17d30
Markdown code blocks migration part 8 ( #22478 )
2023-08-15 06:27:36 +02:00
Raynei
48de0d0cf4
Documented path substitution by compiler ( #21662 )
...
Document compiler path substitution (nim-lang#19928)
2023-04-21 15:37:21 +02:00
huantian
61c1142667
Update nimscript withDir doc example ( #19776 )
2022-05-08 11:54:25 +02:00
Juan Carlos
49844415ce
Deprecate selfExe ( #19660 )
...
* Deprecate selfExe Nimscript
* Deprecate selfExe Nimscript
2022-03-31 21:06:13 +02:00
Juan Carlos
d14e8e8dcc
Remove Deprecated Nimscript proc ( #19629 )
2022-03-23 20:42:54 +01:00
Andreas Rumpf
e0ef859130
strict effects ( #18777 )
...
* fixes #17369
* megatest is green for --cpu:arm64
* docgen output includes more tags/raises
* implemented 'effectsOf'
* algorithm.nim: uses new effectsOf annotation
* closes #18376
* closes #17475
* closes #13905
* allow effectsOf: [a, b]
* added a test case
* parameters that are not ours cannot be declared as .effectsOf
* documentation
* manual: added the 'sort' example
* bootstrap with the new better options
2021-09-02 12:10:14 +02:00
Danil Yarantsev
82d8e9bff3
Replace double backticks with single backticks - Part 2 out of ~6 ( #17206 )
2021-02-28 23:15:26 -08:00
Clyybber
2b2836fc9d
Fix link to switch
2021-02-04 14:40:32 +01:00
Clyybber
cccf219ceb
Allow strings for -- in config.nims ( #16934 )
2021-02-04 13:59:55 +01:00
Juan Carlos
78a99587a4
Deprecate TaintedString ( #15423 )
...
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com >
2021-01-15 18:56:38 -08:00
ee7
297c8e403d
styleCheck: Fix some inconsistent identifiers ( #16177 )
2020-12-21 09:41:56 -08:00
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