13 lines
398 B
Bash
Executable File
13 lines
398 B
Bash
Executable File
#!/bin/env bash
|
|
set -eo pipefail # this can be harmful, see https://www.youtube.com/watch?v=4Jo3Ml53kvc
|
|
. bs/.common || {
|
|
echo 'Please run this script from the project root directory' >&2;
|
|
exit 1;
|
|
}
|
|
declare -r tmp=/tmp/lit-router-extended
|
|
declare -r pkg=./node_modules/@lit-labs/router
|
|
|
|
git clone git@github.com:klauss194/lit-router-extended.git --depth 1 "$tmp"
|
|
cp "$tmp"/* "$pkg"
|
|
rm -rf "$tmp"
|