diff --git a/Cargo.lock b/Cargo.lock index de35194..3e9e8c6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -400,7 +400,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "gutenberg" -version = "0.1.1" +version = "0.1.2" dependencies = [ "chrono 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "clap 2.26.0 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/README.md b/README.md index ae46643..14886fd 100644 --- a/README.md +++ b/README.md @@ -335,19 +335,19 @@ You can check for any updates to the current packages by running: $ git submodule update --remote --merge ``` -And finally from the root of the repository run the following command: +And finally from the root of the components/rendering crate run the following command: ```bash -$ cargo run --example generate_sublime synpack sublime_syntaxes sublime_syntaxes/newlines.packdump sublime_syntaxes/nonewlines.packdump +$ cargo run --example generate_sublime synpack ../../sublime_syntaxes ../../sublime_syntaxes/newlines.packdump ../../sublime_syntaxes/nonewlines.packdump ``` ### Adding a theme A gallery containing lots of themes at https://tmtheme-editor.herokuapp.com/#!/editor/theme/Agola%20Dark. More themes can be easily added to gutenberg, just make a PR with the wanted theme added in the `sublime_themes` directory -and run the following command from the repository root: +and run the following command from the root of the components/rendering: ```bash -$ cargo run --example generate_sublime themepack sublime_themes sublime_themes/all.themedump +$ cargo run --example generate_sublime themepack ../../sublime_themes ../../sublime_themes/all.themedump ``` You should see the list of themes being added. diff --git a/sublime_syntaxes/Packages b/sublime_syntaxes/Packages index c07f58a..a290aa0 160000 --- a/sublime_syntaxes/Packages +++ b/sublime_syntaxes/Packages @@ -1 +1 @@ -Subproject commit c07f58aaa4a7dc91b1b34497487f29320d0334d0 +Subproject commit a290aa062eb00ad5cfc6d9c454c53fb0a534a913 diff --git a/sublime_syntaxes/newlines.packdump b/sublime_syntaxes/newlines.packdump index 35a1ca4..633085f 100644 Binary files a/sublime_syntaxes/newlines.packdump and b/sublime_syntaxes/newlines.packdump differ diff --git a/sublime_syntaxes/nonewlines.packdump b/sublime_syntaxes/nonewlines.packdump index 6d3a9bd..0c54826 100644 Binary files a/sublime_syntaxes/nonewlines.packdump and b/sublime_syntaxes/nonewlines.packdump differ