1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 07:16:36 +01:00
metamask-extension/development/generate-lavamoat-policies.sh

13 lines
415 B
Bash
Executable File

#!/usr/bin/env bash
set -e
set -u
set -o pipefail
# Generate LavaMoat policies for the extension background script for each build
# type.
# ATTN: This may tax your device when running it locally.
WRITE_AUTO_POLICY=1 yarn build scripts:prod --policy-only &&
WRITE_AUTO_POLICY=1 yarn build scripts:prod --policy-only --build-type beta &&
WRITE_AUTO_POLICY=1 yarn build scripts:prod --policy-only --build-type flask