chore(tool): ser más silencioso y fallar al bajar feeds
This commit is contained in:
parent
18934e366b
commit
376b23b93e
1 changed files with 6 additions and 2 deletions
8
tool
8
tool
|
@ -10,9 +10,13 @@ build() {
|
|||
check() {
|
||||
./node_modules/.bin/tsc --noEmit
|
||||
}
|
||||
refresh_feed() {
|
||||
echo "Refreshing $1"
|
||||
busybox wget -qO "cached-feeds/$1.xml" "$2" || exit $?
|
||||
}
|
||||
refresh_feeds() {
|
||||
wget -nv -O cached-feeds/fauno.xml https://fauno.endefensadelsl.org/feed.xml
|
||||
wget -nv -O cached-feeds/copiona.xml https://copiona.com/feed.xml
|
||||
refresh_feed fauno https://fauno.endefensadelsl.org/feed.xml
|
||||
refresh_feed copiona https://copiona.com/feed.xml
|
||||
}
|
||||
|
||||
fatal() {
|
||||
|
|
Reference in a new issue