🎉
This commit is contained in:
@@ -5,6 +5,7 @@ set -eo pipefail # this can be harmful, see https://www.youtube.com/watch?v=4Jo3
|
||||
exit 1;
|
||||
}
|
||||
# depends on
|
||||
declare -r lint='bs/lint'
|
||||
declare -r rollup='node_modules/.bin/rollup'
|
||||
declare -r analyze='bs/analyze'
|
||||
declare -r config='rollup.config.js'
|
||||
@@ -20,6 +21,7 @@ help(){
|
||||
main(){
|
||||
help "${@}"
|
||||
|
||||
$lint
|
||||
rm -rf "$dist"
|
||||
$rollup -c $config "${@}"
|
||||
$analyze --exclude "$dist"
|
||||
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user