DCD/constants-gen/update-constants.sh
Jan Jurzitza a02639a44a auto generate documentation in constants.d from dd files (#430)
* make constant.d auto generate from .dd files (fix #428)

* added isDeprecated to constants.d

* add isDeprecated to expected keywords in traits test

* make traits message BARELY FIT into the response buffer

because who wants to increase the message buffer anyway? I certainly don't and this seems like a much better solution long term /s

* undo apply dfmt on constants.d

* use startsWith & canFind with multiple needles

* made completion have dynamic ddoc as input

* Remove debug pragma msg from constants.d

* Move message buffer to heap, increase size to 1MB

* made traits & pragma ddoc generation separate tool
2018-03-24 05:24:29 +01:00

4 lines
207 B
Bash
Executable file

#!/bin/sh
wget https://raw.githubusercontent.com/dlang/dlang.org/master/spec/pragma.dd -O pragma.dd
wget https://raw.githubusercontent.com/dlang/dlang.org/master/spec/traits.dd -O traits.dd
rdmd generator.d