diff --git a/appveyor.yml b/appveyor.yml index 9a35d96..99e461f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -46,6 +46,9 @@ install: build: off +artifacts: + - path: 'public\*.dll' + test_script: - node --version - npm --version diff --git a/scripts/moveLibs.js b/scripts/moveLibs.js index 4a44fb5..527e512 100644 --- a/scripts/moveLibs.js +++ b/scripts/moveLibs.js @@ -3,6 +3,7 @@ const { copyFileSync } = require('fs') const { join, basename } = require('path') const PUBLIC_DIR = join(__dirname, '..', 'public') +const BINDINGS_BUILD_PATH = join(__dirname, '..', 'bindings', 'build', 'Release') function moveToPublic (filepath) { try { @@ -28,6 +29,8 @@ function windows () { 'libssl-1_1-x64.dll' ].map((dll) => join(sys32Path, dll)) + requiredDlls.push(join(BINDINGS_BUILD_PATH, 'torrent-rasterbar.dll')) + requiredDlls.forEach(moveToPublic) }