Move meta into a separate subpackage

This commit is contained in:
Eugen Wissner 2019-03-02 08:01:58 +01:00
parent d7dfa3f6f1
commit 5b850d532e
9 changed files with 17 additions and 1 deletions

2
.gitignore vendored
View File

@ -9,7 +9,7 @@ dub.selections.json
__test__*__
__test__*__.core
/tanya-test-*
tanya-*test-*
/dub_platform_probe[_-]*
/docs/

View File

@ -48,8 +48,10 @@ before_script:
script:
- if [ -n "$DDOC" ]; then
dub build :meta -b ddox --compiler=$DC;
dub build -b ddox --compiler=$DC;
elif [ -z "$DSCANNER" ]; then
dub test :meta -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC;
dub test -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC;
else
dub fetch dscanner --version=$DSCANNER;

View File

@ -57,4 +57,5 @@ test_script:
- echo %PATH%
- 'dub --version'
- '%DC% --version'
- dub test :meta -b unittest --arch=%Darch% --compiler=%DC%
- dub test -b unittest --arch=%Darch% --compiler=%DC%

View File

@ -9,10 +9,18 @@
"targetType": "library",
"dependencies": {
"tanya:meta": "*"
},
"dependencies-linux": {
"mir-linux-kernel": "~>1.0.0"
},
"subPackages": [
"./meta"
],
"configurations": [
{
"name": "library",

5
meta/dub.json Normal file
View File

@ -0,0 +1,5 @@
{
"name": "meta",
"description": "Template metaprogramming",
"targetType": "library"
}