From 390b865a14289573423aee9b2ff4ebe6b515ace7 Mon Sep 17 00:00:00 2001 From: pratham15541 Date: Wed, 28 Jun 2023 17:34:53 +0530 Subject: [PATCH] Added dart langauge support remove book lists from dart Revert "remove book lists from dart" This reverts commit 4345743da56c9ab723a70bdde4b827649100449d. Correct language.dhal --- config/languages.dhall | 23 +++++++++++++++++++++++ static/img/dart.svg | 1 + static/img/dart.svg.png | Bin 0 -> 4905 bytes 3 files changed, 24 insertions(+) create mode 100644 static/img/dart.svg create mode 100644 static/img/dart.svg.png diff --git a/config/languages.dhall b/config/languages.dhall index aafc364..7570b02 100644 --- a/config/languages.dhall +++ b/config/languages.dhall @@ -388,6 +388,29 @@ in [ { id = "assembly" } ] : List Book } + , { id = "dart" + , name = "Dart" + , logoName = "dart" + , fileExtension = "dart" + , editorConfig = + { defaultFilename = "main.dart" + , mode = "ace/mode/dart" + , useSoftTabs = True + , softTabSize = 4 + , exampleCode = + '' + void main() { + print('Hello, World!'); + } + '' + } + , runConfig = Some + { containerImage = "glot/dart:latest" + , runCommand = "dart main.dart" + , versionCommand = "dart --version" + } + , books = [] : List Book + } , { id = "elixir" , name = "Elixir" , logoName = "elixir" diff --git a/static/img/dart.svg b/static/img/dart.svg new file mode 100644 index 0000000..d84eb59 --- /dev/null +++ b/static/img/dart.svg @@ -0,0 +1 @@ +dart-programming-language \ No newline at end of file diff --git a/static/img/dart.svg.png b/static/img/dart.svg.png new file mode 100644 index 0000000000000000000000000000000000000000..d6bbdb539e100ef76583353ce0e86204e901ff09 GIT binary patch literal 4905 zcmcJTiC0s{_rUMWdwF?D2*iMj0ZS;T6sblG3Khv?aYv2dE|sT6i;9}MVr3bZuYmf~ zv|6=_5_jB#OWhFPsff6=;8Ke$5;stbHWpbFNWRbh2fuTEzjx02%$+-P=gpftb7#)v z7{?4#$~AHTP>vWL69<4r5d%w!$+biNrD8&V8#y`>pkTA2eTGELqs4KW z0AuX0YvcB09N^-)9EZQJN1r?G4)9VK)rHAOyu~~$~QGt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