summaryrefslogtreecommitdiff
path: root/archive/bin/update-emacs-snapshot
blob: 11e0c544dccfd3549d21229c2ed25cd8298957b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

# assumes I've already tested the upstream snapshot via 'melete' branch

# now have a permanent worktree in ~/src/emacs-snapshot

set -e

[ -d ~/tmp/demeter-emacs ] \
    || git -C ~/src/emacs worktree add ~/tmp/demeter-emacs athena/unstable
cd ~/tmp/demeter-emacs

debian/merge-snapshot
rebuild-for-athena unstable

git -C ~/src/emacs worktree remove ~/tmp/demeter-emacs