Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Create d.toml #111

Merged
merged 7 commits into from Jul 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
32 changes: 32 additions & 0 deletions languages/d.toml
@@ -0,0 +1,32 @@
name = "D"
entrypoint = "main.d"

aliases = [
"d",
"dlang",
]
extensions = [
"d"
]
packages = [
"gdc",
"gdb"
]

[compile]
command = [
"gdc",
"-o",
"main"
]

[run]
command = [
"./main"
]

[tests]
[tests.hello]
code="import std.stdio: writeln;void main(){writeln(\"hello\");}"
output="hello\n"