Commit 4d953845 authored by mercury233's avatar mercury233

test

parent 1439cbf1
...@@ -12,18 +12,15 @@ install: ...@@ -12,18 +12,15 @@ install:
- 7z x sqlite-tools-win32-x86-3210000.zip - 7z x sqlite-tools-win32-x86-3210000.zip
- mv sqlite-tools-win32-x86-3210000/sqlite3.exe . - mv sqlite-tools-win32-x86-3210000/sqlite3.exe .
- copy "C:\Program Files\Git\usr\bin\find.exe" "C:\Program Files\Git\usr\bin\_find.exe" - cp -r locales dumps
- copy "C:\Program Files\Git\usr\bin\mkdir.exe" "C:\Program Files\Git\usr\bin\_mkdir.exe"
build_script: build_script:
- cd %BUILD_PATH% - cd %BUILD_PATH%
- _find --help - FOR /R dumps %f in (*.cdb) DO sqlite3.exe %f .dump > %f.sql
- _find . -name "*.cdb"
- bash -c '_find . -name "*.cdb" -type f -print0 | xargs -0 -I {} bash -c \'n={}; _mkdir -p "dumps/$n"; ./sqlite3 "$n" .dump > "dumps/$n.sql"\''
after_build: after_build:
- git checkout dump - git checkout dump
- cp -r dumps/locales . - cp -r dumps locales
- git config --global user.name $env:APPVEYOR_REPO_COMMIT_AUTHOR - git config --global user.name $env:APPVEYOR_REPO_COMMIT_AUTHOR
- git config --global user.email $env:APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL - git config --global user.email $env:APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment