DIP 1028 @safe by default: compilability list of all dub packages

Atila Neves atila.neves at gmail.com
Tue Jan 7 16:45:09 UTC 2020


On Tuesday, 7 January 2020 at 11:12:28 UTC, WebFreak001 wrote:
> On Tuesday, 7 January 2020 at 10:43:44 UTC, Atila Neves wrote:
>> On Monday, 6 January 2020 at 23:05:29 UTC, WebFreak001 wrote:
>>>> [...]
>>>
>>> Update:
>>> now built using
>>> phobos commit c039fed84 (std.bitmanip.bitfields issues fixed)
>>> dmd commit 0ab7e90df (changes delegate to @safe by default)
>>>
>>> [...]
>>
>> There are still false negatives - autowrap definitely builds.
>
> Running pre-generate commands for autowrap:pynih...
> make: Entering directory 
> '/srv/http/org.webfreak.symbols/clones-2020-01-04_00-35-08/5dafbb00bce0bf24b5b71996-autowrap/pynih'
> make: 'source/python/raw.d' is up to date.
> make: Leaving directory 
> '/srv/http/org.webfreak.symbols/clones-2020-01-04_00-35-08/5dafbb00bce0bf24b5b71996-autowrap/pynih'
> Invalid source/import path: 
> /srv/http/org.webfreak.symbols/clones-2020-01-04_00-35-08/5dafbb00bce0bf24b5b71996-autowrap/python/source
> Invalid source/import path: 
> /srv/http/org.webfreak.symbols/clones-2020-01-04_00-35-08/5dafbb00bce0bf24b5b71996-autowrap/python/source
> Invalid variable: PYTHON_LIB_DIR

Ah. I guess this project assumes that every project can be 
built/tested with dub as-is (dub build / dub test). For the ones 
with .travis.yml files it might be worth parsing the YAML and 
running the "script" section instead (it'll usually be dub test 
anyway).


More information about the Digitalmars-d mailing list