Skip to content

Commit 94bdaa0

Browse files
committed
hopefully hacked around 'main.d'
1 parent 0f451ac commit 94bdaa0

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

.main.d

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import std.stdio; void main() { writeln("here's a main function, cause this is stupid."); }
2+

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
before_install:
2+
- sudo wget https://d-apt.googlecode.com/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list
3+
- sudo apt-get update && sudo apt-get -y --allow-unauthenticated install d-apt-keyring && sudo apt-get update
4+
- sudo apt-get install dub dmd
5+
6+
script:
7+
cp .main.d ./deimos/ncurses/main.d && dub && rm ./deimos/ncurses/main.d && return 0
8+
dub
9+

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@
1313
],
1414
"libs": [
1515
"ncursesw"
16-
]
16+
],
17+
"targetType": "staticLibrary",
18+
"buildRequirements": ["relaxProperties"],
1719
}

0 commit comments

Comments
 (0)