1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-26 10:52:17 -05:00
mail/res/copy-deps.sh

19 lines
356 B
Bash
Executable File

#!/bin/sh
echo "--> building dependencies to src\n"
# go to root
cd `dirname $0`
cd ..
# build imap/smtp modules and copy
cd ./node_modules/imap-client/
node build.js && cp ./src-gen/*.js ../../src/lib/
cd ../../
cd ./node_modules/smtp-client/
node build.js && cp ./src-gen/*.js ../../src/lib/
cd ../../
echo "\n--> finished building dependencies.\n"