1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-29 20:32:15 -05:00
mail/res/copy-deps.sh

19 lines
356 B
Bash
Raw Normal View History

2013-05-16 10:54:56 -04:00
#!/bin/sh
echo "--> building dependencies to src\n"
2013-05-16 10:54:56 -04:00
# go to root
cd `dirname $0`
cd ..
# build imap/smtp modules and copy
cd ./node_modules/imap-client/
2013-08-17 11:32:49 -04:00
node build.js && cp ./src-gen/*.js ../../src/lib/
cd ../../
cd ./node_modules/smtp-client/
2013-08-17 11:32:49 -04:00
node build.js && cp ./src-gen/*.js ../../src/lib/
cd ../../
echo "\n--> finished building dependencies.\n"