-
Notifications
You must be signed in to change notification settings - Fork 6
/
justfile
77 lines (52 loc) · 1.92 KB
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
coverage-instrument:
npx nyc instrument --compact=false _site/assets/js instrumented
coverage-report:
npx nyc report --reporter html --reporter text && open coverage/index.html
cy-ut:
npx cypress run --config video=false --spec '**/unit/*ts'
cy-run:
npx cypress run --config video=false --env coverage=false
cy-prod-run:
npx cypress run --config video=false --env coverage=false --config baseUrl=https://idvork.in
cy-record:
. ./_cypress_api_key && npx cypress run --record --env coverage=false
cy-open:
npx cypress open --env coverage=false
jekyll-serve:
bundle exec jekyll server --incremental --livereload --host 127.0.0.1
jekyll-mac-serve:
~/homebrew/opt/ruby/bin/bundle exec jekyll server --incremental --livereload --host 127.0.0.1
jekyll-container:
bundle exec jekyll server --incremental --livereload --host 0.0.0.0
docker-build:
docker build -t devdocker devdocker
parcel-start:
parcel src/index.html
parcel-build:
parcel build src/index.ts
parcel-watch:
rm -rf .parcel-cache dist && parcel watch src/index.ts
parcel-clean:
rm -rf .parcel-cache dist
docker-run2:
docker run -v ~/blog:/root/blog -p 35729:35729 -p 4000:4000 -it devdocker
docker-run:
docker run -v ~/blog:/root/blog -it -p 35729:35729 -p 4000:4000 devdocker npm run jekyll:container
update-backlinks:
python3 build_back_links.py build > back-links.json
update-search:
bundle exec jekyll algolia
update-ig66:
python3 old_blog/transform_blogger_export.py export-all > _ig66/ig66-export.json
update-eulogy:
python3 scripts/eulogy_to_json.py > eulogy.json
update-fj:
python3 old_blog/transform_blogger_export.py export-all > _ig66/ig66-export.json
back-links:
python3 build_back_links.py > back-links.json
tsc:
tsc --watch --allowUmdGlobalAccess
broken-links:
scrapy runspider linkchecker.py -O ~/tmp/brokenlinks.csv && cat ~/tmp/brokenlinks.csv
prepare:
husky install