Add a script for priming the cache
This commit is contained in:
parent
4d314f8439
commit
ea611d2c15
|
@ -0,0 +1,16 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
(
|
||||||
|
echo https://devhints.io/
|
||||||
|
(
|
||||||
|
git ls-files \
|
||||||
|
| grep -E '\.md$' \
|
||||||
|
| grep -v -E 'CONTRIBUTING|README|Readme' \
|
||||||
|
| grep -v -E '^_' \
|
||||||
|
| sort \
|
||||||
|
| uniq \
|
||||||
|
| sed 's/\.md$//g'
|
||||||
|
) \
|
||||||
|
| sed 's#^#https://devhints.io/#g'
|
||||||
|
) \
|
||||||
|
| xargs curl >/dev/null
|
Loading…
Reference in New Issue