Skip to content

Commit 3c3d41f

Browse files
committed
remove selections from example project
1 parent 3c89950 commit 3c3d41f

15 files changed

+17
-150
lines changed

.github/workflows/dub.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
# - name: Install dependencies on Ubuntu
3939
# if: startsWith(matrix.os, 'ubuntu')
40-
# run: sudo apt-get update && sudo apt-get install libev-dev libpq-dev libevent-dev libsqlite3-dev -y
40+
# run: sudo apt-get update && sudo apt-get install libevent-dev -y
4141

4242
# - name: Install dependencies on Mac OSX
4343
# if: startsWith(matrix.os, 'macos')
@@ -103,7 +103,7 @@ jobs:
103103

104104
# - name: Install dependencies on Ubuntu
105105
# if: startsWith(matrix.os, 'ubuntu')
106-
# run: sudo apt-get update && sudo apt-get install libev-dev libpq-dev libevent-dev libsqlite3-dev -y
106+
# run: sudo apt-get update && sudo apt-get install libevent-dev -y
107107

108108
- name: Upgrade dub dependencies
109109
uses: WebFreak001/[email protected]
@@ -148,11 +148,15 @@ jobs:
148148
with:
149149
compiler: dmd-latest
150150

151+
- name: Install dependencies on Ubuntu
152+
if: startsWith(matrix.os, 'ubuntu')
153+
run: sudo apt-get update && sudo apt-get install libevent-dev -y
154+
151155
- name: Build The Example Project
152156
working-directory: ./examples/homePage
153157
run: dub build
154158

155-
- name: Run The Examples (SQLite)
159+
- name: Run Example (MySQL 5.7)
156160
working-directory: ./examples/homePage
157161
run: |
158162
./example "host=localhost;port=3306;user=testuser;pwd=passw0rd;db=testdb"

dub.sdl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ authors "Steve Teale" "James W. Oliphant" "Simen Endsjø" "Sönke Ludwig" "S
66

77
dependency "vibe-core" version="~>1.16.0" optional=true
88

9+
toolchainRequirements frontend=">=2.068"
10+
911
sourcePaths "source/"
1012
importPaths "source/"
1113

examples/homePage/dub.sdl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
name "example"
2-
dependency "mysql-native" path="../.."
2+
description "Simple example of using MySQL Native"
3+
dependency "mysql-native" path="../../"
34
targetType "executable"
45
sourcePaths "."
56
mainSourceFile "example.d"
7+
8+
configuration "default" {
9+
subConfiguration "mysql-native" "library"
10+
//subConfiguration "vibe-d" "win32" platform="windows-x86_64-dmd"
11+
//excludedSourceFiles "../../source/app.d"
12+
}

examples/homePage/dub.selections.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

examples/homePage/dub.selections.vibecore-1.0.0.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

examples/homePage/dub.selections.vibecore-1.1.1.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

examples/homePage/dub.selections.vibecore-1.2.0.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

examples/homePage/dub.selections.vibecore-1.3.0.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

examples/homePage/dub.selections.vibecore-1.4.0.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

examples/homePage/dub.selections.vibecore-1.4.3.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)