cleanup imap/smtp build process

This commit is contained in:
Tankred Hase 2013-08-17 17:32:49 +02:00
parent 6690e56245
commit 83afb77adc
1 changed files with 2 additions and 4 deletions

View File

@ -12,13 +12,11 @@ cp ./node_modules/crypto-lib/node_modules/node-forge/js/*.js ./src/lib/
# build imap/smtp modules and copy
cd ./node_modules/imap-client/
npm install && node build.js
cp ./src-gen/*.js ../../src/lib/
node build.js && cp ./src-gen/*.js ../../src/lib/
cd ../../
cd ./node_modules/smtp-client/
npm install && node build.js
cp ./src-gen/*.js ../../src/lib/
node build.js && cp ./src-gen/*.js ../../src/lib/
cd ../../
echo "\n--> finished copying dependencies.\n"