fda7b13f1b
-- * Tests: initialization of the two modes, encryption * gpgme.js: reintroduced message check before calling Connection.post() * gpgmejs_openpgp.js: Fixed openpgp mode not passing keys * index.js: fixed some confusion in parseconfig() * Inserted some TODO stubs for missing error handling
16 lines
481 B
Bash
Executable File
16 lines
481 B
Bash
Executable File
#/!bin/bash
|
|
|
|
npx webpack --config webpack.conf.js
|
|
mkdir -p BrowserTestExtension/libs
|
|
cp node_modules/chai/chai.js \
|
|
node_modules/mocha/mocha.css \
|
|
node_modules/mocha/mocha.js \
|
|
build/gpgmejs.bundle.js BrowserTestExtension/libs
|
|
rm -rf build/extensions
|
|
mkdir -p build/extensions
|
|
zip -r build/extensions/browsertest.zip BrowserTestExtension
|
|
|
|
mkdir -p DemoExtension/libs
|
|
cp build/gpgmejs.bundle.js DemoExtension/libs
|
|
zip -r build/extensions/demoextension.zip DemoExtension
|