ldcup 1.0.3
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.
Usage
- Download precompiled binaries and extract it.
- Add
ldcup
to your$PATH
. - Run
ldcup
commands.
$ 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 list --remote # list all available compiler releases
$ ldcup uninstall ldc2-${version}
$ ldcup run -- --version # run ldc2 with --version flag
## 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 ldc2 compiler (default: ldc2-latest)
uninstall [compiler] Uninstall a specific compiler
list List installed compilers
run -- [compiler-flags] Run a ldc2 compiler with specified flags
--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
- 1.0.3 released 2 months ago
- kassane/ldcup
- Apache-2.0
- Authors:
- Dependencies:
- none
- Versions:
-
1.0.6 2025-Jan-18 1.0.5 2025-Jan-16 1.0.4 2025-Jan-03 1.0.3 2024-Dec-23 1.0.2 2024-Dec-19 - Download Stats:
-
-
0 downloads today
-
8 downloads this week
-
8 downloads this month
-
9 downloads total
-
- Score:
- 0.2
- Short URL:
- ldcup.dub.pm