rider/scripts/serve-editor.sh
Adrian Woźniak 08a5987a4a
Make render testable (#16)
* Make render testable

* Add some tests

* Format code

* Fix render caret after input

* Add kcov scripts

* Fix caret position

* Test move caret

* Test move caret

* Test move caret

* Additional tests

* Additional token to color test
2019-03-02 23:27:07 +01:00

13 lines
265 B
Bash
Executable File

#!/bin/env bash
nvm use 11.0.0
here=$(pwd)
target="cov/$(ls ${here}/cov | grep editor | grep "\\." | head -n1)"
if [[ -e "${target}" ]];
then
cd ${target} && echo "here: $(pwd)" && serve . && cd ${here}
else
echo "Target: '${target}' does not exists!"
fi