snazzy-d / sdc

The Snazzy D Compiler
MIT License
246 stars 55 forks source link

There is now a dub.selections.json file checked in. #360

Open maxhaton opened 7 months ago

maxhaton commented 7 months ago

This works around an apparent dub bug (not yet triaged) that meant people consuming sdfmt via dub run sdc:sdfmt were ending up relinking sdfmt on every run - dub insists on rebuilding if it doesn't see a lockfile.

sdc has no dependencies from the dub registry so this should not really be required but alas.

deadalnix commented 7 months ago

We probably should fix dub instead.

maxhaton commented 7 months ago

We probably should fix dub instead.

Perhaps, but this fixes the problem now rather than however long it takes me or someone else to wade through dub.

Geod24 commented 7 months ago

I'm looking at the issue, but this indeed will help until the fix is made AND people upgrade.