Skip to content

Commit b5f6077

Browse files
committed
get refraction from bolts
1 parent 5875f77 commit b5f6077

4 files changed

Lines changed: 22 additions & 596 deletions

File tree

dub.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
}
3636
],
3737
"copyright": "Copyright © 2017-2020, Jean-Louis Leroy",
38+
"dependencies": {
39+
"bolts": "1.8.0"
40+
},
3841
"description": "fast, open multi-methods for D",
3942
"importPaths": [
4043
"source/"
@@ -55,5 +58,5 @@
5558
"./benchmarks/runtimemetrics",
5659
"./tests"
5760
],
58-
"targetType": "library",
59-
}
61+
"targetType": "library"
62+
}

examples/dl/run

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,15 @@ rm -f *.o *.di *.so
55

66
DC=dmd
77

8-
# BOLT_VERSION=1.7.0
9-
# dub fetch bolts@$BOLT_VERSION
10-
# BOLT_SOURCE=~/.dub/packages/bolts-$BOLT_VERSION/bolts/source
8+
BOLT_VERSION=1.8.0
9+
dub fetch bolts@$BOLT_VERSION
10+
BOLT_SOURCE=~/.dub/packages/bolts-$BOLT_VERSION/bolts/source
1111

1212
DFLAGS="-g -I../../source -I$BOLT_SOURCE $DFLAGS"
1313

1414
SOFLAGS="-L-fPIC -shared"
1515

1616
$DC $DFLAGS $SOFLAGS -i -c ../../source/openmethods.d
17-
$DC $DFLAGS $SOFLAGS -i -c ../../source/bolts/experimental/*.d
1817
$DC $DFLAGS $SOFLAGS *.o -oflibopenmethods.so
1918

2019
$DC $DFLAGS $SOFLAGS -c animals.d

0 commit comments

Comments
 (0)