Add YAML, TOML, HCL
This commit is contained in:
parent
3ff89c5124
commit
4a11be0679
|
@ -471,6 +471,16 @@ main = putStrLn "Hello, world!"
|
||||||
`,
|
`,
|
||||||
hacks: ["ghci-config"],
|
hacks: ["ghci-config"],
|
||||||
},
|
},
|
||||||
|
hcl: {
|
||||||
|
aliases: ["tf", "terraform", "hashicorp", "hc"],
|
||||||
|
name: "HCL",
|
||||||
|
monacoLang: "plaintext",
|
||||||
|
main: "main.hcl",
|
||||||
|
compile: "cat main.hcl | yj -cj > main.json",
|
||||||
|
run: "cat main.json | jq .",
|
||||||
|
template: `output = "Hello, world!"
|
||||||
|
`,
|
||||||
|
},
|
||||||
ink: {
|
ink: {
|
||||||
name: "Ink",
|
name: "Ink",
|
||||||
monacoLang: "plaintext",
|
monacoLang: "plaintext",
|
||||||
|
@ -1064,6 +1074,16 @@ END
|
||||||
lsp: "digestif",
|
lsp: "digestif",
|
||||||
lspLang: "tex",
|
lspLang: "tex",
|
||||||
template: `\\message{Hello, world!}
|
template: `\\message{Hello, world!}
|
||||||
|
`,
|
||||||
|
},
|
||||||
|
toml: {
|
||||||
|
aliases: ["tom"],
|
||||||
|
name: "TOML",
|
||||||
|
monacoLang: "plaintext",
|
||||||
|
main: "main.toml",
|
||||||
|
compile: "cat main.toml | yj -tj > main.json",
|
||||||
|
run: "cat main.json | jq .",
|
||||||
|
template: `output = "Hello, world!"
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
typescript: {
|
typescript: {
|
||||||
|
@ -1157,6 +1177,16 @@ main:
|
||||||
.data
|
.data
|
||||||
message:
|
message:
|
||||||
.string "Hello, world!\\n"
|
.string "Hello, world!\\n"
|
||||||
|
`,
|
||||||
|
},
|
||||||
|
yaml: {
|
||||||
|
aliases: ["yml"],
|
||||||
|
name: "YAML",
|
||||||
|
monacoLang: "yaml",
|
||||||
|
main: "main.yaml",
|
||||||
|
compile: "cat main.yaml | yj -yj > main.json",
|
||||||
|
run: "cat main.json | jq .",
|
||||||
|
template: `output: "Hello, world!"
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
zsh: {
|
zsh: {
|
||||||
|
|
|
@ -57,6 +57,9 @@ python3.7
|
||||||
# x86
|
# x86
|
||||||
clang
|
clang
|
||||||
|
|
||||||
|
# YAML
|
||||||
|
jq
|
||||||
|
|
||||||
# Zsh
|
# Zsh
|
||||||
zsh
|
zsh
|
||||||
|
|
||||||
|
|
|
@ -65,6 +65,11 @@ gdown "https://drive.google.com/uc?export=download&id=1GPoR_ja4ns16KCamRgwB-JVag
|
||||||
gdown "https://drive.google.com/uc?export=download&id=1qSxj8JjAeetAmNjUGayX0RBARgr5R4Ij" /opt/haskell/hoogle.hoo
|
gdown "https://drive.google.com/uc?export=download&id=1qSxj8JjAeetAmNjUGayX0RBARgr5R4Ij" /opt/haskell/hoogle.hoo
|
||||||
chmod +x /usr/bin/hie
|
chmod +x /usr/bin/hie
|
||||||
|
|
||||||
|
# HCL/TOML/YAML
|
||||||
|
wget -nv https://github.com/sclevine/yj/releases/download/v4.0.0/yj-linux
|
||||||
|
chmod +x yj-linux
|
||||||
|
mv yj-linux /usr/bin/yj
|
||||||
|
|
||||||
# Ink
|
# Ink
|
||||||
wget -nv https://github.com/thesephist/ink/releases/download/v0.1.7/ink-linux
|
wget -nv https://github.com/thesephist/ink/releases/download/v0.1.7/ink-linux
|
||||||
wget -nv https://github.com/thesephist/ink/releases/download/v0.1.7/std.ink
|
wget -nv https://github.com/thesephist/ink/releases/download/v0.1.7/std.ink
|
||||||
|
|
Loading…
Reference in New Issue