mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-01 00:27:44 +00:00
Appveyor should ..hopefully... be fine now
This commit is contained in:
parent
a89def6f4a
commit
8b937414a4
3 changed files with 8 additions and 3 deletions
|
@ -24,5 +24,8 @@ before_build:
|
|||
- cmake --build . --target ALL_BUILD --config Release
|
||||
|
||||
build_script:
|
||||
- cd ..
|
||||
- cd bin
|
||||
- copy "C:\Program Files\MySQL\MySQL Server 5.7\lib\libmysql.dll" libmysql.dll
|
||||
- cd ..
|
||||
- sh sql_import.sh
|
||||
|
|
|
@ -139,7 +139,7 @@ endif( UNIX )
|
|||
if( WIN32 )
|
||||
find_library( MYSQL_LIBRARY
|
||||
NAMES
|
||||
mysqlclient
|
||||
libmysql
|
||||
PATHS
|
||||
${MYSQL_ADD_LIBRARIES_PATH}
|
||||
"${PROGRAM_FILES_32}/MySQL/MySQL Server 5.7/lib"
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
bin/sapphire_dbm --mode initialize --user root --database sapphire --sfile bin/sql/schema/schema.sql --ifile bin/sql/schema/inserts.sql
|
||||
bin/sapphire_dbm --mode liquidate --user root --database sapphire --force
|
||||
cd bin
|
||||
sapphire_dbm --mode initialize --user root --database sapphire --sfile sql/schema/schema.sql --ifile sql/schema/inserts.sql
|
||||
sapphire_dbm --mode liquidate --user root --database sapphire --force
|
||||
cd ..
|
||||
|
|
Loading…
Add table
Reference in a new issue