Switched to library

This commit is contained in:
Tristan B. Velloza Kildaire 2021-07-21 22:10:32 +02:00
parent 13efc3bba7
commit 1a96b0dce5
3 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@ -13,3 +13,4 @@ libtun-test-*
*.o
*.obj
*.lst
dub.json

View File

@ -6,7 +6,7 @@
"description": "TUN adapter for D",
"license": "GPLv3",
"name": "libtun",
"targetType": "executable",
"targetType": "library",
"preBuildCommands": ["gcc source/libtun/tunctl.c -o tunctl.o -c"],
"lflags": ["tunctl.o"]
}

View File

@ -1,3 +1,5 @@
module libtun.testing.app;
import std.stdio;
import libtun.adapter;