lodash 中文文档 lodash 中文文档
英文官网 (opens new window)
GitHub (opens new window)
英文官网 (opens new window)
GitHub (opens new window)
  • 简介
  • 数组
  • 集合
  • 函数
  • 语言
  • 数学
  • 数字
  • 对象
  • Seq
  • 字符串
  • 实用函数
  • Properties

D tools


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.
updatecopyright Internal Update the copyright notices in DMD

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:

  1. ``` sh
  2. make -f posix.mak all

  3. ```

Using DUB as a build tool


Most tools can also be built with DUB:

  1. ``` sh
  2. dub build :ddemangle

  3. ```

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:

  1. ``` sh
  2. dub --single tests_extractor.d

  3. ```

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.
Last Updated: 2023-07-22 14:47:53