-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
33 lines (29 loc) · 791 Bytes
/
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
default:
#! /bin/bash
echo "--------------------------"
echo "WilliamHuster.com Justfile"
echo "--------------------------"
just --list
gen_photo_frontmatter photo:
#! /bin/bash
echo "---"
echo "layout: photo"
echo "image: {{photo}}"
echo "show: true"
echo "date: "
exiftool {{photo}} -S -Title -ImageWidth -ImageHeight -Make -Model -FNumber -ExposureTime -ISO -LensID -Keywords -DateTimeOriginal -Description -d "%Y-%m-%d %H:%M:%S"
echo "---"
run:
jekyll serve --port 4001
hash_css:
#! /bin/bash
md5 static/css/style.css
echo "^ Paste into header of default.html"
push:
#! /bin/bash
git add .
git commit -m "Update"
remotes=$(git remote)
for remote in $remotes; do
git push $remote
done