mirror of https://github.com/moparisthebest/mail
cleanup imap/smtp build process
This commit is contained in:
parent
6690e56245
commit
83afb77adc
|
@ -12,13 +12,11 @@ cp ./node_modules/crypto-lib/node_modules/node-forge/js/*.js ./src/lib/
|
||||||
|
|
||||||
# build imap/smtp modules and copy
|
# build imap/smtp modules and copy
|
||||||
cd ./node_modules/imap-client/
|
cd ./node_modules/imap-client/
|
||||||
npm install && node build.js
|
node build.js && cp ./src-gen/*.js ../../src/lib/
|
||||||
cp ./src-gen/*.js ../../src/lib/
|
|
||||||
cd ../../
|
cd ../../
|
||||||
|
|
||||||
cd ./node_modules/smtp-client/
|
cd ./node_modules/smtp-client/
|
||||||
npm install && node build.js
|
node build.js && cp ./src-gen/*.js ../../src/lib/
|
||||||
cp ./src-gen/*.js ../../src/lib/
|
|
||||||
cd ../../
|
cd ../../
|
||||||
|
|
||||||
echo "\n--> finished copying dependencies.\n"
|
echo "\n--> finished copying dependencies.\n"
|
||||||
|
|
Loading…
Reference in New Issue