mirror of
https://github.com/moparisthebest/mail
synced 2024-11-27 03:12:23 -05:00
19 lines
356 B
Bash
Executable File
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"
|