mirror of
https://github.com/mfontanini/presenterm.git
synced 2025-05-05 15:32:58 +00:00
111 lines
2.4 KiB
YAML
111 lines
2.4 KiB
YAML
---
|
|
bash:
|
|
filename: script.sh
|
|
commands:
|
|
- ["bash", "$pwd/script.sh"]
|
|
hidden_line_prefix: "/// "
|
|
c++:
|
|
filename: snippet.cpp
|
|
commands:
|
|
- ["g++", "-std=c++20", "-fdiagnostics-color=always", "$pwd/snippet.cpp", "-o", "$pwd/snippet"]
|
|
- ["$pwd/snippet"]
|
|
hidden_line_prefix: "/// "
|
|
c:
|
|
filename: snippet.c
|
|
commands:
|
|
- ["gcc", "$pwd/snippet.c", "-fdiagnostics-color=always", "-o", "$pwd/snippet"]
|
|
- ["$pwd/snippet"]
|
|
hidden_line_prefix: "/// "
|
|
fish:
|
|
filename: script.fish
|
|
commands:
|
|
- ["fish", "$pwd/script.fish"]
|
|
hidden_line_prefix: "/// "
|
|
go:
|
|
filename: snippet.go
|
|
environment:
|
|
GO11MODULE: off
|
|
commands:
|
|
- ["go", "run", "$pwd/snippet.go"]
|
|
hidden_line_prefix: "/// "
|
|
haskell:
|
|
filename: snippet.hs
|
|
commands:
|
|
- ["runhaskell", "-w", "$pwd/snippet.hs"]
|
|
java:
|
|
filename: Snippet.java
|
|
commands:
|
|
- ["java", "$pwd/Snippet.java"]
|
|
hidden_line_prefix: "/// "
|
|
js:
|
|
filename: snippet.js
|
|
commands:
|
|
- ["node", "$pwd/snippet.js"]
|
|
hidden_line_prefix: "/// "
|
|
julia:
|
|
filename: snippet.jl
|
|
commands:
|
|
- ["julia", "$pwd/snippet.jl"]
|
|
hidden_line_prefix: "/// "
|
|
kotlin:
|
|
filename: snippet.kts
|
|
commands:
|
|
- ["kotlinc", "-script", "$pwd/snippet.kts"]
|
|
hidden_line_prefix: "/// "
|
|
lua:
|
|
filename: snippet.lua
|
|
commands:
|
|
- ["lua", "$pwd/snippet.lua"]
|
|
nushell:
|
|
filename: snippet.nu
|
|
commands:
|
|
- ["nu", "$pwd/snippet.nu"]
|
|
perl:
|
|
filename: snippet.pl
|
|
commands:
|
|
- ["perl", "$pwd/snippet.pl"]
|
|
php:
|
|
filename: snippet.php
|
|
commands:
|
|
- ["php", "-f", "$pwd/snippet.php"]
|
|
hidden_line_prefix: "/// "
|
|
python:
|
|
filename: snippet.py
|
|
commands:
|
|
- ["python", "-u", "$pwd/snippet.py"]
|
|
hidden_line_prefix: "/// "
|
|
r:
|
|
filename: snippet.R
|
|
commands:
|
|
- ["Rscript", "$pwd/snippet.R"]
|
|
ruby:
|
|
filename: snippet.rb
|
|
commands:
|
|
- ["ruby", "$pwd/snippet.rb"]
|
|
rust-script:
|
|
filename: snippet.rs
|
|
commands:
|
|
- ["rust-script", "--debug", "$pwd/snippet.rs"]
|
|
hidden_line_prefix: "# "
|
|
rust:
|
|
filename: snippet.rs
|
|
commands:
|
|
- ["rustc", "--crate-name", "presenterm_snippet", "$pwd/snippet.rs", "-o", "$pwd/snippet", "--color", "always"]
|
|
- ["$pwd/snippet"]
|
|
hidden_line_prefix: "# "
|
|
sh:
|
|
filename: script.sh
|
|
commands:
|
|
- ["sh", "$pwd/script.sh"]
|
|
hidden_line_prefix: "/// "
|
|
zsh:
|
|
filename: script.sh
|
|
commands:
|
|
- ["zsh", "$pwd/script.sh"]
|
|
hidden_line_prefix: "/// "
|
|
csharp:
|
|
filename: snippet.cs
|
|
commands:
|
|
- ["dotnet-script", "$pwd/snippet.cs"]
|
|
hidden_line_prefix: "/// "
|