mirror of
https://github.com/sharkdp/bat.git
synced 2024-12-23 23:08:54 +01:00
14 lines
478 B
Bash
Executable File
14 lines
478 B
Bash
Executable File
#!/bin/bash
|
|
|
|
ASSET_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
# TODO: Remove this (and the reverse part below) when
|
|
# https://github.com/trishume/syntect/issues/160 has been fixed
|
|
JAVADOC_FILE="${ASSET_DIR}/syntaxes/Packages/Java/JavaDoc.sublime-syntax"
|
|
JAVADOC_PATCH="${ASSET_DIR}/JavaDoc.sublime-syntax.patch"
|
|
patch "$JAVADOC_FILE" "$JAVADOC_PATCH"
|
|
|
|
bat cache --init --blank --source="$ASSET_DIR" --target="$ASSET_DIR"
|
|
|
|
patch -R "$JAVADOC_FILE" "$JAVADOC_PATCH"
|