on 3446fdf help sign in
bat/assets/create.sh
13 lines 478 B history raw
1#!/bin/bash
3ASSET_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
5# TODO: Remove this (and the reverse part below) when
6# https://github.com/trishume/syntect/issues/160 has been fixed
7JAVADOC_FILE="${ASSET_DIR}/syntaxes/Packages/Java/JavaDoc.sublime-syntax"
8JAVADOC_PATCH="${ASSET_DIR}/JavaDoc.sublime-syntax.patch"
9patch "$JAVADOC_FILE" "$JAVADOC_PATCH"
11bat cache --init --blank --source="$ASSET_DIR" --target="$ASSET_DIR"
13patch -R "$JAVADOC_FILE" "$JAVADOC_PATCH"