Skip to content

remove local paths, and allow custom xi-core

Rasmus Thomsen requested to merge github/fork/little-dude/xrl-integration into gxi-xrl

Created by: little-dude

I'm looking at https://github.com/xi-frontend/xrl/issues/27 and I needed those changes to compile. This was necessary to have xi-core find syntect. FWIW I'm compiling with that:

git clean -xfd                    

export XI_CONFIG_DIR="${PWD}/build/xi-core"
mkdir -p "${XI_CONFIG_DIR}"
cargo install --path vendor/xi-editor/rust --root "${XI_CONFIG_DIR}"
make -C vendor/xi-editor/rust/syntect-plugin install

export PATH="${XI_CONFIG_DIR}/bin:${XI_CONFIG_DIR}/plugins/syntect/bin:${PATH}"
export GXI_PLUGIN_DIR="${XI_CONFIG_DIR}/plugins"
export GSETTINGS_SCHEMA_DIR=data
glib-compile-schemas data
cargo build
RUST_LOG=info cargo run

Merge request reports