From aa22af443c97d40871d0bb237cfd0dcacbf52e8a Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Mon, 21 Sep 2020 12:35:20 +0100 Subject: [PATCH] Tools: Clean up after spellfix build --- .gitignore | 4 ++-- Tools/gulp/tasks/compileExtensions.js | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ecdc4c341..9011d9921 100644 --- a/.gitignore +++ b/.gitignore @@ -50,8 +50,8 @@ joplin-webclipper-source.zip Tools/commit_hook.txt .vscode/* *.map -ReactNativeClient/lib/sql-extensions/ -!ReactNativeClient/lib/sql-extensions/spellfix.dll +ReactNativeClient/lib/sql-extensions/spellfix.so +ReactNativeClient/lib/sql-extensions/spellfix.dylib # AUTO-GENERATED - EXCLUDED TYPESCRIPT BUILD CliClient/app/LinkSelector.js diff --git a/Tools/gulp/tasks/compileExtensions.js b/Tools/gulp/tasks/compileExtensions.js index 17422e098..d5e7a6663 100644 --- a/Tools/gulp/tasks/compileExtensions.js +++ b/Tools/gulp/tasks/compileExtensions.js @@ -45,6 +45,11 @@ async function main() { } catch (e) { console.warn(e); } + + await fs.remove(`${dest}/sqlite.tar.gz`); + await fs.remove(`${dest}/amalgamation.tar.gz`); + await fs.remove(`${dest}/sqlite`); + await fs.remove(`${dest}/sqlite-autoconf-3330000`); } module.exports = main;