Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 9cbef72

Browse files
committed
Remove Ruby highlighting
1 parent b4d9681 commit 9cbef72

File tree

9 files changed

+3
-565
lines changed

9 files changed

+3
-565
lines changed

.tool-versions

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ trivy 0.30.3
1010
kustomize 4.5.7
1111
awscli 2.4.7
1212
python system
13-
rust 1.67.1
13+
rust 1.62.0
1414
ruby 3.1.3
1515
pnpm 7.24.2

docker-images/syntax-highlighter/Cargo.lock

-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docker-images/syntax-highlighter/Dockerfile

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22
# Build syntect_server statically #
33
###################################
44

5-
FROM rust:1.67.1-alpine3.17@sha256:8269a16b3eaf33893cc00ea0650b4a4e8323f9a459ce0b527b630310dafbf6ee as ss
6-
RUN apk add --no-cache musl-dev>=1.1.24-r10 build-base clang
5+
FROM rust:1.58-alpine3.14@sha256:fbc0cfaa6261179ca7653cc2b20ca9c3e936f3416a911a27a28694f8fb23b8b4 as ss
6+
RUN apk add --no-cache musl-dev>=1.1.24-r10
77
COPY . /repo
88
WORKDIR /repo
9-
ENV CC="clang"
109
RUN cargo test --release --workspace
1110
RUN cargo rustc --release
1211
RUN ls ./target

docker-images/syntax-highlighter/crates/sg-syntax/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ tree-sitter-cpp = "0.20.0"
5454
tree-sitter-java = "0.20.0"
5555
tree-sitter-javascript = "0.20.0"
5656
tree-sitter-python = "0.20.2"
57-
tree-sitter-ruby = "0.20.0"
5857
tree-sitter-rust = "0.20.3"
5958
tree-sitter-typescript = "0.20.2"
6059

docker-images/syntax-highlighter/crates/sg-syntax/queries/ruby/highlights.scm

-150
This file was deleted.

docker-images/syntax-highlighter/crates/sg-syntax/src/sg_treesitter.rs

-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ lazy_static::lazy_static! {
157157
javascript,
158158
jsonnet,
159159
python,
160-
ruby,
161160
rust,
162161
scala,
163162
sql,

docker-images/syntax-highlighter/crates/sg-syntax/src/snapshots/files/ruby.rb

-78
This file was deleted.

docker-images/syntax-highlighter/crates/sg-syntax/src/snapshots/files/sorbet.rb

-75
This file was deleted.

0 commit comments

Comments
 (0)