- Adds a context field to Cart - context is automatically populated with ip + user agent - context can be updated via POST /store/cart/:id or set when creating via POST /store/cart
21 lines
262 B
Bash
Executable File
21 lines
262 B
Bash
Executable File
#!/bin/bash
|
|
|
|
FIXTURE_PATTERN=$1
|
|
|
|
lerna run build
|
|
|
|
medusa-dev --set-path-to-repo .
|
|
|
|
cd docs-util/fixture-gen
|
|
|
|
medusa-dev --force-install --scan-once
|
|
|
|
cd ../..
|
|
|
|
if [ "$FIXTURE_PATTERN" ]; then
|
|
yarn test:fixtures -t $FIXTURE_PATTERN
|
|
else
|
|
yarn test:fixtures
|
|
fi
|
|
|