Skip to content

Instantly share code, notes, and snippets.

@benoit-dubreuil
Last active August 31, 2021 20:18
Show Gist options
  • Save benoit-dubreuil/2f1bf03ef8b2d3d1fb01b1a496bd8d0f to your computer and use it in GitHub Desktop.
Save benoit-dubreuil/2f1bf03ef8b2d3d1fb01b1a496bd8d0f to your computer and use it in GitHub Desktop.
dub fetch / update the latest development tools
#!/usr/bin/env sh
# Use the DMD compiler in order to get the latest features.
# https://github.com/dlang-community/dfmt
dub fetch dfmt --cache=user && dub build dfmt --build=release --compiler=dmd --cache=user
# https://github.com/dlang-community/dfix
dub fetch dfix --cache=user && dub build dfix --build=release --compiler=dmd --cache=user
# https://github.com/dlang-community/D-Scanner
dub fetch dscanner --cache=user && dub build dscanner --build=release --compiler=dmd --cache=user
# https://github.com/dlang-community/DCD
dub fetch dcd --cache=user && dub build dcd --config=client --build=release --compiler=dmd --cache=user && dub build dcd --config=server --build=release --compiler=dmd --cache=user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment