ldcup 1.0.2

Download and manage D compiler [ldc2].


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

ldcup

Download and manage ldc2 compiler.

[!NOTE] For DMD, see dlang website - Downloads.

Inspired by rustup and zigup.

Usage

$ ldcup install # default latest version
# or
$ ldcup install ldc2-master # latest-CI version
# or
$ ldcup install ldc2-${version} # optional: -v
$ ldcup list # list installed compilers in default path directory
$ ldcup uninstall ldc2-${version}

## Custom path directory
$ ldcup list --install-dir=custom-path # list installed compilers in custom path directory
# or set DC_PATH environment variable
$ DC_PATH=customPath ldcup list # list installed compilers in custom path directory

Helper

$ ldcup                                         
Usage: ldcup [command] [options]
Commands:
  install [compiler]   Install a D compiler (default: ldc2-latest)
  uninstall [compiler] Uninstall a specific compiler
  list                 List installed compilers
  --install-dir=DIR    Specify the installation directory
  --verbose, -v        Enable verbose output
  --remote             List all available compiler releases
  --help, -h           Show this help message

License

Apache-2.0

Authors:
  • Matheus Catarino França
Dependencies:
none
Versions:
1.0.2 2024-Dec-19
1.0.1 2024-Dec-19
1.0.0 2024-Dec-18
~main 2024-Dec-20
Show all 4 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 0 downloads total

Score:
0.3
Short URL:
ldcup.dub.pm