Add priorities, modify scaffold.sh

This commit is contained in:
Omar Brikaa 2022-06-04 22:27:32 +02:00
parent d33e47e60a
commit 4470eb637f
2 changed files with 72 additions and 2 deletions

View File

@ -0,0 +1,66 @@
[
"node-javascript"
"python2"
"python3"
"bash"
"clojure"
"cobol-gnu-cobol"
"crystal"
"dart"
"dash"
"deno-javascript"
"deno-typescript"
"elixir"
"erlang"
"gawk-awk"
"openjdk11_headless-java"
"ruby"
"zig"
"vlang"
"swift"
"node-typescript"
"sqlite"
"rscript"
"raku"
"racket"
"powershell"
"prolog"
"ponylang"
"php"
"perl"
"octave"
"ocaml"
"nim"
"nasm"
"nasm-nasm64"
"mono-csharp"
"lua"
"lolcode"
"sbcl-lisp"
"jvm-kotlin"
"julia"
"jelly"
"openjdk-java"
"iverilog"
"ghc-haskell"
"groovy"
"go"
"gcc-c"
"gcc-c++"
"gcc-d"
"gcc-fortran"
"yabasic"
"emacs"
"gnat-ada"
"rust"
"dotnet-sdk-csharp"
"dotnet-sdk-fsharp"
"dotnet-sdk-fsharp-interactive"
"dotnet-sdk-visual-basic"
"fpc-pascal"
"brainfuck"
"node-coffeescript"
"jvm-scala"
"llvm_ir"
"mono-basic"
]

View File

@ -32,9 +32,13 @@ else
.scaffold.nix > $NAME.nix .scaffold.nix > $NAME.nix
echo "}" >> default.nix echo "}" >> default.nix
git add $NAME.nix default.nix sed -i '$d' ./priorities/default.nix
echo " \"$NAME\"" >> ./priorities/default.nix
echo "]" >> ./priorities/default.nix
git add $NAME.nix default.nix ./priorities
echo "Scaffolded $NAME" echo "Scaffolded $NAME"
echo "Edit $NAME.nix to get started" echo "Edit $NAME.nix to get started"
echo "Once you are done, run ./piston test $NAME to test it" echo "Once you are done, run ./piston test $NAME to test it"
fi fi