2013-05-16 10:54:56 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
2013-09-17 08:40:35 -04:00
|
|
|
echo "--> building dependencies to src\n"
|
2013-05-16 10:54:56 -04:00
|
|
|
|
|
|
|
# go to root
|
|
|
|
cd `dirname $0`
|
|
|
|
cd ..
|
|
|
|
|
2013-08-16 14:31:18 -04:00
|
|
|
# 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/
|
2013-08-16 14:31:18 -04:00
|
|
|
cd ../../
|
|
|
|
|
|
|
|
cd ./node_modules/smtp-client/
|
2013-08-17 11:32:49 -04:00
|
|
|
node build.js && cp ./src-gen/*.js ../../src/lib/
|
2013-08-16 14:31:18 -04:00
|
|
|
cd ../../
|
|
|
|
|
2013-09-17 08:40:35 -04:00
|
|
|
echo "\n--> finished building dependencies.\n"
|