Add Singularity grammer/language (#5242)

Co-authored-by: Onno Valkering <onnovalkering@users.noreply.github.com>
Co-authored-by: Colin Seymour <colin@github.com>
This commit is contained in:
Onno Valkering 2021-03-19 10:41:56 +01:00 коммит произвёл GitHub
Родитель fa41e7edc1
Коммит 09e6194465
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
7 изменённых файлов: 103 добавлений и 0 удалений

3
.gitmodules поставляемый
Просмотреть файл

@ -1062,6 +1062,9 @@
[submodule "vendor/grammars/vscode-scala-syntax"]
path = vendor/grammars/vscode-scala-syntax
url = https://github.com/scala/vscode-scala-syntax
[submodule "vendor/grammars/vscode-singularity"]
path = vendor/grammars/vscode-singularity
url = https://github.com/onnovalkering/vscode-singularity
[submodule "vendor/grammars/vscode-slice"]
path = vendor/grammars/vscode-slice
url = https://github.com/zeroc-ice/vscode-slice

Просмотреть файл

@ -917,6 +917,8 @@ vendor/grammars/vscode-prisma:
- source.prisma
vendor/grammars/vscode-scala-syntax:
- source.scala
vendor/grammars/vscode-singularity:
- source.singularity
vendor/grammars/vscode-slice:
- source.slice
vendor/grammars/vscode-vlang:

Просмотреть файл

@ -5366,6 +5366,14 @@ Sieve:
codemirror_mode: sieve
codemirror_mime_type: application/sieve
language_id: 208976687
Singularity:
type: programming
color: "#64E6AD"
tm_scope: source.singularity
filenames:
- Singularity
ace_mode: text
language_id: 987024632
Slash:
type: programming
color: "#007eff"

Просмотреть файл

@ -0,0 +1,57 @@
# https://github.com/nickjer/singularity-r/blob/master/Singularity (MIT)
BootStrap: shub
From: nickjer/singularity-r
%labels
Maintainer Jeremy Nicklas
RStudio_Version 1.2.5033
%help
This will run RStudio Server
%apprun rserver
exec rserver "${@}"
%runscript
exec rserver "${@}"
%environment
export PATH=/usr/lib/rstudio-server/bin:${PATH}
%setup
install -Dv \
rstudio_auth.sh \
${SINGULARITY_ROOTFS}/usr/lib/rstudio-server/bin/rstudio_auth
install -Dv \
ldap_auth.py \
${SINGULARITY_ROOTFS}/usr/lib/rstudio-server/bin/ldap_auth
%post
# Software versions
export RSTUDIO_VERSION=1.2.5033
# Install RStudio Server
apt-get update
apt-get install -y --no-install-recommends \
ca-certificates \
wget \
gdebi-core
wget \
--no-verbose \
-O rstudio-server.deb \
"https://download2.rstudio.org/server/trusty/amd64/rstudio-server-${RSTUDIO_VERSION}-amd64.deb"
gdebi -n rstudio-server.deb
rm -f rstudio-server.deb
# Add support for LDAP authentication
wget \
--no-verbose \
-O get-pip.py \
"https://bootstrap.pypa.io/get-pip.py"
python3 get-pip.py
rm -f get-pip.py
pip3 install ldap3
# Clean up
rm -rf /var/lib/apt/lists/*

1
vendor/README.md поставляемый
Просмотреть файл

@ -412,6 +412,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **ShellSession:** [atom/language-shellscript](https://github.com/atom/language-shellscript)
- **Shen:** [rkoeninger/sublime-shen](https://github.com/rkoeninger/sublime-shen)
- **Sieve:** [Alhadis/language-etc](https://github.com/Alhadis/language-etc)
- **Singularity:** [onnovalkering/vscode-singularity](https://github.com/onnovalkering/vscode-singularity)
- **Slash:** [slash-lang/Slash.tmbundle](https://github.com/slash-lang/Slash.tmbundle)
- **Slice:** [zeroc-ice/vscode-slice](https://github.com/zeroc-ice/vscode-slice)
- **Slim:** [slim-template/ruby-slim.tmbundle](https://github.com/slim-template/ruby-slim.tmbundle)

1
vendor/grammars/vscode-singularity поставляемый Submodule

@ -0,0 +1 @@
Subproject commit d3da44ec55020125ddba2882d6fae42ce261563b

31
vendor/licenses/git_submodule/vscode-singularity.dep.yml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,31 @@
---
name: vscode-singularity
version: d3da44ec55020125ddba2882d6fae42ce261563b
type: git_submodule
homepage: https://github.com/onnovalkering/vscode-singularity
license: mit
licenses:
- sources: LICENSE
text: |
MIT License
Copyright (c) 2019-present Onno Valkering
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
notices: []