forked from Wilfred/difftastic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
30 lines (20 loc) · 796 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
default:
@just --list
doc:
cd manual && mdbook serve --open
compare:
sample_files/compare_all.sh
release:
#!/bin/bash
set -ex
VERSION=$(cargo metadata --format-version=1 | jq -r '.packages | .[] | select(.name == "difftastic") | .version')
git tag $VERSION
git push --tags
cargo set-version --bump minor
home:
echo "http://localhost:8080"
cd homepage && python -m http.server 8080
rel_notes:
#!/bin/bash
echo -e "Difftastic is a structural diff tool that understands syntax. See [the manual](https://difftastic.wilfred.me.uk/) to get started, and [the changelog](https://github.com/Wilfred/difftastic/blob/master/CHANGELOG.md) for historical changes.\n"
rg --max-count 1 -B 9999 "released " CHANGELOG.md | tail -n +3 | head -n -2