Compare commits

..

6 Commits

Author SHA1 Message Date
Jordan Atwood aedc9127d9
Merge RuneLite dev branches iteratively 3 months ago
Jordan Atwood a4e10ab65b
Enable git rerere 3 months ago
Jordan Atwood 63b8afbeb9
Sort git branches by committer date 3 months ago
Jordan Atwood 6c47489ade
Fix git chmod alias 3 months ago
Jordan Atwood 5777ca33fc
Determine scanned pdf date upon completion 3 months ago
Jordan Atwood 31a1c24f36
Add silly compose sequences 3 months ago
  1. 4
      src/.XCompose
  2. 3
      src/.bin/manuscan.sh
  3. 4
      src/.bin/open-runelite.sh
  4. 6
      src/.gitconfig

@ -5,6 +5,10 @@ include "%L"
# non-English characters
<Multi_key> <p> <i> : "π" # GREEK SMALL LETTER PI
# silly
<Multi_key> <l> <o> <o> <k> : "ಠ_ಠ"
<Multi_key> <s> <h> <r> <u> <g> : "¯\\_(ツ)_/¯"
# spaces
<Multi_key> <n> <b> <s> <p> : " " nobreakspace # NON-BREAKING SPACE
<Multi_key> <space> <0> : "" U200b # ZERO WIDTH SPACE

@ -13,8 +13,6 @@ SCAN_OUTPUT_DIR=~/Pictures/Scans
TMP_DIR="$(mktemp -d --suffix='scans')"
while
scan_output_filename=scan_"$(date +%Y-%m-%d-%H-%M-%S)"
page_number=1
while
echo "Scanning page $page_number"
@ -29,6 +27,7 @@ while
echo
# convert image sequence to pdf
scan_output_filename=scan_"$(date +%Y-%m-%d-%H-%M-%S)"
convert "$TMP_DIR"/*.tiff "${SCAN_OUTPUT_DIR}/${scan_output_filename}_raw.pdf"
# compress pdf

@ -52,7 +52,9 @@ function build_client {
# Update local dev branch and build
git checkout dev || git checkout -b dev
git reset --hard "$UPSTREAM_REMOTE/$UPSTREAM_BRANCH"
git merge --no-gpg-sign --no-edit "${BRANCHES_TO_MERGE[@]}" || exit 1
for branch in "${BRANCHES_TO_MERGE[@]}"; do
git merge --no-gpg-sign --no-edit --rerere-autoupdate "$branch" || ( [[ -z "$(git rerere diff)" ]] && git commit --no-gpg-sign --no-edit) || exit 1
done
mvn clean package -DskipTests -U || exit 1
git checkout -
# copy shaded jar to script's directory, removing any old shaded jars

@ -7,7 +7,7 @@
alias = !git config -l | grep '^alias\\.' | cut -d '.' -f '2-' | sed -r -e 's/=/ = /' | sort
amend = commit --amend
amend-a = commit -a --amend
chmod = "!f() { chmod_flag=$1 && shift && git add --chmod=$chmod_flag $@ && chmod $chmod_flag $@; }; f"
chmod = "!f() { chmod_flag=$1 && shift && cd -- \"${GIT_PREFIX:-.}\"; git add --chmod=\"$chmod_flag\" \"$@\" && chmod \"$chmod_flag\" \"$@\"; }; f"
# TODO: fix below; that method is not accurate
# check-merge = "!f() { output=$(git format-patch ${1:-master} --stdout | git apply --3way --check - 2>/dev/null); exit_code=$?; if [ $exit_code != '0' ] && [ $exit_code != '128' ]; then echo 'Merge conflicts exist! See `git apply` output below:'; echo; echo $output; fi; }; f"
co-pr = "!f() { \
@ -40,6 +40,8 @@
sur = submodule update --recursive
[apply]
whitespace = fix
[branch]
sort = -committerdate
[color]
branch = auto
diff = auto
@ -92,6 +94,8 @@
fetch = +refs/notes/*:refs/notes/*
[remote.upstream]
fetch = +refs/notes/*:refs/notes/*
[rerere]
enabled = true
[status]
submodulesummary = true
[submodule]

Loading…
Cancel
Save