example 1

This commit is contained in:
Alexander Zhirov 2021-11-08 17:26:19 +03:00
parent 1fccd9bcc0
commit 241e344ade
3 changed files with 31 additions and 0 deletions

15
src/example_1/.gitignore vendored Normal file
View File

@ -0,0 +1,15 @@
.dub
docs.json
__dummy.html
docs/
/example_1
example_1.so
example_1.dylib
example_1.dll
example_1.a
example_1.lib
example_1-test-*
*.exe
*.o
*.obj
*.lst

10
src/example_1/dub.json Normal file
View File

@ -0,0 +1,10 @@
{
"authors": [
"alexander"
],
"copyright": "Copyright © 2021, alexander",
"description": "Знакомство с языком D",
"license": "proprietary",
"name": "example_1",
"targetPath": "bin"
}

View File

@ -0,0 +1,6 @@
import std.stdio;
void main()
{
writeln("Hello, world!");
}