8e131922e7
Continuing our theme of treating all languages equally, move wrappers/javascript to javascrpit. Automerge libraries for new languages should be built at this top level if possible.
13 lines
442 B
Text
Executable file
13 lines
442 B
Text
Executable file
set -e
|
|
|
|
THIS_SCRIPT=$(dirname "$0");
|
|
WASM_PROJECT=$THIS_SCRIPT/../../rust/automerge-wasm;
|
|
JS_PROJECT=$THIS_SCRIPT/../../javascript;
|
|
E2E_PROJECT=$THIS_SCRIPT/../../javascript/e2e;
|
|
|
|
yarn --cwd $E2E_PROJECT install;
|
|
# This will build the automerge-wasm project, publish it to a local NPM
|
|
# repository, then run `yarn build` in the `javascript` directory with
|
|
# the local registry
|
|
yarn --cwd $E2E_PROJECT e2e buildjs;
|
|
yarn --cwd $JS_PROJECT test
|