embark-area-51/test/cli_shim/demos/invoked_no_version.sh
Michael Bradley, Jr 96d7f08d70
[WIP] cli shim demo
2018-10-22 19:39:26 +02:00

22 lines
330 B
Bash

say "$(cat << 'MSG'
If invoked embark's package.json does not specify a version then report warning
and continue
MSG
)"
cd ~/working/embark
nac lts
json -I -f package.json -e 'delete this.version' &> /dev/null
cd ~/embark_demo
bash -i << 'DEMO'
embark version
DEMO
nac default
cd ~/working/embark
git stash &> /dev/null
cd ~