Move meta into a separate subpackage
This commit is contained in:
parent
d7dfa3f6f1
commit
5b850d532e
2
.gitignore
vendored
2
.gitignore
vendored
@ -9,7 +9,7 @@ dub.selections.json
|
|||||||
|
|
||||||
__test__*__
|
__test__*__
|
||||||
__test__*__.core
|
__test__*__.core
|
||||||
/tanya-test-*
|
tanya-*test-*
|
||||||
/dub_platform_probe[_-]*
|
/dub_platform_probe[_-]*
|
||||||
|
|
||||||
/docs/
|
/docs/
|
||||||
|
@ -48,8 +48,10 @@ before_script:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- if [ -n "$DDOC" ]; then
|
- if [ -n "$DDOC" ]; then
|
||||||
|
dub build :meta -b ddox --compiler=$DC;
|
||||||
dub build -b ddox --compiler=$DC;
|
dub build -b ddox --compiler=$DC;
|
||||||
elif [ -z "$DSCANNER" ]; then
|
elif [ -z "$DSCANNER" ]; then
|
||||||
|
dub test :meta -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC;
|
||||||
dub test -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC;
|
dub test -b ${UNITTEST:-unittest} --arch=$ARCH --compiler=$DC;
|
||||||
else
|
else
|
||||||
dub fetch dscanner --version=$DSCANNER;
|
dub fetch dscanner --version=$DSCANNER;
|
||||||
|
@ -57,4 +57,5 @@ test_script:
|
|||||||
- echo %PATH%
|
- echo %PATH%
|
||||||
- 'dub --version'
|
- 'dub --version'
|
||||||
- '%DC% --version'
|
- '%DC% --version'
|
||||||
|
- dub test :meta -b unittest --arch=%Darch% --compiler=%DC%
|
||||||
- dub test -b unittest --arch=%Darch% --compiler=%DC%
|
- dub test -b unittest --arch=%Darch% --compiler=%DC%
|
||||||
|
8
dub.json
8
dub.json
@ -9,10 +9,18 @@
|
|||||||
|
|
||||||
"targetType": "library",
|
"targetType": "library",
|
||||||
|
|
||||||
|
"dependencies": {
|
||||||
|
"tanya:meta": "*"
|
||||||
|
},
|
||||||
|
|
||||||
"dependencies-linux": {
|
"dependencies-linux": {
|
||||||
"mir-linux-kernel": "~>1.0.0"
|
"mir-linux-kernel": "~>1.0.0"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"subPackages": [
|
||||||
|
"./meta"
|
||||||
|
],
|
||||||
|
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "library",
|
"name": "library",
|
||||||
|
5
meta/dub.json
Normal file
5
meta/dub.json
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"name": "meta",
|
||||||
|
"description": "Template metaprogramming",
|
||||||
|
"targetType": "library"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user