closed ~main
A single-file build system.
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:
Closed (WIP)
A single-file build system for D projects, inspired by OpenD. Closed is for people who want a simple alternative to DUB for things like scripts or example code.
Quick Start
Just run:
dmd source/closed.d
Alternatively, use Closed with:
closed build source
# Or: closed build
Or use DUB with:
dub run closed -- build source
# Or: dub run closed -- build
Examples
Build a release version with LDC.
closed build -closed=makeReleaseBuild+useLDCRun a Parin script.
closed run parin/packages/setup/source -closed=removeOutput+removeObjectsBuild with GCC using a version.
closed run ../project/source -version=WithFoo -closed=useGCC
Additional Information
- Supports single-file projects.
- Can work as a library with version:
ClosedLibrary - Checks for a local
modulesfolder and will use it as an include path. - Will add
-Iand-Jwhen passing folders.
Extra info can be found in the ideas page.
Help
Usage:
closed <mode> [arguments...]
Modes:
help This information
check Quick syntax test
build Build project
run Build and run project
test Build and test project
Flags:
-closed=makeReleaseBuild
-closed=removeOutput
-closed=removeObjects
-closed=useDMD
-closed=useLDC
-closed=useGDC
-closed=useOpenD
- ~main released 3 months ago
- Kapendev/closed
- MIT
- Copyright © 2026, Alexandros F. G. Kapretsos
- Authors:
- Dependencies:
- none
- Versions:
-
Show all 2 versions0.0.1 2026-Jan-23 ~main 2026-Jan-23 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
7 downloads total
-
- Score:
- 0.4
- Short URL:
- closed.dub.pm