Ancillary tools for the D programming language compiler
Find a file
The Dlang Bot 28729b555d
Merge pull request #356 from wilzbach/fix-typos
Fix typos in the changed summary text
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-07-29 16:47:57 +02:00
DustMite Merge pull request #259 from wilzbach/update-dustmite 2017-10-06 16:33:05 +02:00
man/man1 Wrap lines to 80 chars. 2018-07-25 19:10:44 +01:00
test Display the correct line number when executing the extracted public tests 2018-06-24 20:35:54 +02:00
.editorconfig Add a .editorconfig (copied from Phobos) 2017-12-22 08:15:14 +01:00
.gitignore Allow using the tools repo via DUB 2018-06-17 14:28:13 +02:00
.mailmap Add more duplicate contributors to the mailmap file 2018-07-04 02:09:16 +02:00
.travis.yml Add 32-bit dmd-nightly builds to Travis CI 2018-02-04 18:55:20 +01:00
appveyor.yml appveyor.yml: Override DFLAGS 2018-04-10 16:45:44 +00:00
catdoc.d Fix whitespace 2015-10-18 00:24:53 +00:00
changed.d Fix typos in the changed summary text 2018-07-29 16:04:28 +02:00
checkwhitespace.d checkwhitespace.d: Allow individual errors to be turned off. 2018-02-11 10:36:41 +01:00
CODEOWNERS Add a CODEOWNERS file for tools 2018-02-09 01:54:53 +01:00
contributors.d Parse dub, dub-registry & dconf.org when --all is used. 2017-12-29 00:42:58 +01:00
ddemangle.d Make scripts executable + runnable 2017-07-03 02:09:29 +02:00
detab.d Make scripts executable + runnable 2017-07-03 02:09:29 +02:00
dget.d Remove pragma(lib, curl) 2018-02-22 23:44:18 +01:00
dman.d dman: Use d-tags.json instead of d.tag 2017-08-08 15:43:28 +00:00
dub.sdl Allow using the tools repo via DUB 2018-06-17 14:28:13 +02:00
get_dlibcurl32.bat Add script 'get_dlibcurl32', to auto-create Win32 libcurl import lib. 2013-08-17 17:35:13 -04:00
get_dlibcurl32.d Make scripts executable + runnable 2017-07-03 02:09:29 +02:00
Jenkinsfile add Jenkinsfile 2017-10-06 16:33:21 +02:00
latest-tag update links to dlang 2016-04-16 06:51:38 +03:00
LICENSE.txt Add LICENSE.txt file 2017-12-28 15:45:20 +01:00
posix.mak posix.mak: use -f to fix nightlies 2018-03-27 23:16:20 +02:00
rdmd.d rdmd: Append binExt to the compiler path to check from the same directory 2018-04-10 16:17:47 +00:00
rdmd_test.d rdmd_test: Don't attempt to run Makefile test when Make is too old 2018-04-10 21:28:01 +00:00
README.md Add DUB build explanation to the README 2018-06-24 16:42:16 +02:00
setup.sh Fix Travis: fix checking out tags with setup.sh 2018-02-19 21:39:52 +01:00
tests_extractor.d Display the correct line number when executing the extracted public tests 2018-06-24 20:35:54 +02:00
tolf.d Make scripts executable + runnable 2017-07-03 02:09:29 +02:00
travis.sh Allow using the tools repo via DUB 2018-06-17 14:28:13 +02:00
win32.mak Since --rdmd is required, made it a "non-option" argument instead of an "option that is [REQUIRED]" 2018-03-19 07:03:48 -06:00

D tools

GitHub tag Bugzilla Issues Build Status Issue Stats license

This repository hosts various tools redistributed with DMD or used internally during various build tasks.

Program Scope Description
catdoc Build Concatenates Ddoc files.
changed Internal Change log generator.
chmodzip Build ZIP file attributes editor.
ddemangle Public D symbol demangler.
detab Internal Replaces tabs with spaces.
dget Internal D source code downloader.
dman Public D documentation lookup tool.
dustmite Public Test case minimization tool.
get_dlibcurl32 Internal Win32 libcurl downloader/converter.
rdmd Public D build tool.
rdmd_test Internal rdmd test suite.
tests_extractor Internal Extracts public unittests (requires DUB)
tolf Internal Line endings converter.

To report a problem or browse the list of open bugs, please visit the bug tracker.

For a list and descriptions of D development tools, please visit the D wiki.

Building

On a Posix system all tools can be built with:

make -f posix.mak all

Using DUB as a build tool

Most tools can also be built with DUB:

dub build :ddemangle

Running DUB tools

Some tools require D's package manager DUB. By default, DUB builds a binary and executes it. On a Posix system, the source files can directly be executed with DUB (e.g. ./tests_extractor.d). Alternatively, the full single file execution command can be used:

dub --single tests_extractor.d

Remember that when programs are run via DUB, you need to pass in -- before the program's arguments, e.g dub --single tests_extractor.d -- -i ../phobos/std/algorithm.

For more information, please see DUB's documentation.