storybook/scripts/build-storybooks.sh
2018-08-27 19:42:20 +02:00

13 lines
374 B
Bash
Executable File

#!/bin/sh
#
# This builds all the example storybooks for running chromatic on your dev machine
examples=(angular-cli cra-kitchen-sink html-kitchen-sink marko-cli mithril-kitchen-sink polymer-cli vue-kitchen-sink svelte-kitchen-sink official-storybook riot-kitchen-sink)
for example in "${examples[@]}"
do
pushd examples/$example
yarn build-storybook
popd
done