bring languages back from submodule

This commit is contained in:
dragonmuffin 2024-08-25 21:16:34 +05:00
parent 75acb422af
commit 3a1e382687
3 changed files with 2 additions and 5 deletions

3
.gitmodules vendored
View file

@ -1,6 +1,3 @@
[submodule "proto"]
path = proto
url = https://git.sch9.ru/new_gate/contracts
[submodule "internal/languages"]
path = internal/languages
url = https://git.sch9.ru/new_gate/languages

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

View file

@ -6,8 +6,9 @@ type Language struct {
RunCmd []string //source: executable
}
var languages = [...]Language {
var Languages = [...]Language {
{Name : "gcc std=c90",
CompileCmd : []string{"gcc", "src","-std=c90","-o","executable"},
RunCmd : []string{"executable"}},
}