Skip to content

Commit

Permalink
project: intial setup
Browse files Browse the repository at this point in the history
  • Loading branch information
FFY00 authored and jpakkane committed Aug 29, 2018
1 parent 12890ba commit 1a0fff2
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
33 changes: 33 additions & 0 deletions dub.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "dubtestproject",
"authors": [
"Meson Team"
],
"description": "A test project.",
"copyright": "Copyright © 2018, Meson Team",
"license": "MIT",
"homepage": "http://mesonbuild.com",
"targetType": "none",
"dependencies": {
"dubtestproject:test1": ">=0.0.0",
"dubtestproject:test2": ">=0.0.0",
},
"subPackages": [
{
"name": "test1",
"targetType": "executable",
"targetName": "test1",
"sourcePaths": [
"source/test1"
]
},
{
"name": "test2",
"targetType": "library",
"targetName": "test2",
"sourcePaths": [
"source/test2"
]
},
]
}
6 changes: 6 additions & 0 deletions source/test1/test.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import std.stdio;

void main()
{
writeln("It works!");
}
8 changes: 8 additions & 0 deletions source/test2/test.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module meson.test;

import std.stdio;

void printTest()
{
writeln("printTest() called");
}

0 comments on commit 1a0fff2

Please sign in to comment.