You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
user@debian:~$ dub run dfmt -- -h
Package 'dfmt' was not found locally but is available online:
---
Description: Dfmt is a formatter for D source code
Version: 0.15.1
---
Do you want to fetch 'dfmt' now? [Y/n]:
Fetching dfmt 0.15.1
Building package dfmt in /home/user/.dub/packages/dfmt/0.15.1/dfmt/
Fetching libdparse 0.24.0 (getting selected version)
Warning Invalid source/import path: /home/user/.dub/packages/dfmt/0.15.1/dfmt/bin
Starting Performing "debug" build using /usr/bin/gdc for x86_64.
Building libdparse 0.24.0: building configuration [library]
Building dfmt 0.15.1: building configuration [application]
Pre-build Running commands
Warning Invalid source/import path: /home/user/.dub/packages/dfmt/0.15.1/dfmt/bin
gdc: error: unrecognized command-line option ‘-run’
Error Command failed with exit code 1: /usr/bin/gdc -run "/home/user/.dub/packages/dfmt/0.15.1/dfmt/dubhash.d"
The text was updated successfully, but these errors were encountered:
System information
Bug Description
dub run
does not work with gdc out of the box.See below
How to reproduce?
The text was updated successfully, but these errors were encountered: