From 4c7a515120c13d22dd48585969c58cbe39929edb Mon Sep 17 00:00:00 2001
From: Anton Bagliy <taccessviolation@gmail.com>
Date: Mon, 1 Oct 2018 19:21:39 +0300
Subject: [PATCH] ADD: codenvy factory def

---
 .codenvy.json | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 112 insertions(+)
 create mode 100644 .codenvy.json

diff --git a/.codenvy.json b/.codenvy.json
new file mode 100644
index 0000000..e445281
--- /dev/null
+++ b/.codenvy.json
@@ -0,0 +1,112 @@
+{
+  "v": "4.0",
+  "name": "compilers",
+  "workspace": {
+    "environments": {
+      "compilers": {
+        "machines": {
+          "dev-machine": {
+            "attributes": {
+              "memoryLimitBytes": "2147483648"
+            },
+            "servers": {},
+            "agents": [
+              "org.eclipse.che.ls.csharp",
+              "org.eclipse.che.ssh",
+              "org.eclipse.che.ws-agent",
+              "org.eclipse.che.terminal",
+              "org.eclipse.che.exec"
+            ]
+          }
+        },
+        "recipe": {
+          "location": "eclipse/dotnet_core",
+          "type": "dockerimage"
+        }
+      }
+    },
+    "defaultEnv": "compilers",
+    "projects": [
+      {
+        "links": [],
+        "name": "compilers",
+        "attributes": {
+          "commands": [
+            "{\"commandLine\":\"cd ${current.project.path} && ./run_tests.sh\", \"name\":\"run all tests\", \"attributes\":{\"previewUrl\":\"\", \"goal\":\"Test\"}, \"type\":\"custom\"}",
+            "{\"commandLine\":\"cd ${current.project.path} && mono NUnit.3.10.1/NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe TestSimpleLexer/bin/Debug/TestSimpleLexer.dll\", \"name\":\"run tests\", \"attributes\":{\"previewUrl\":\"\", \"goal\":\"Test\"}, \"type\":\"custom\"}",
+            "{\"commandLine\":\"cd ${current.project.path} && xbuild /p:TargetFrameworkVersion=\\\"v4.0\\\"\", \"name\":\"build with xbuild\", \"attributes\":{\"previewUrl\":\"\", \"goal\":\"Build\"}, \"type\":\"custom\"}",
+            "{\"commandLine\":\"cd ${current.project.path} && nuget restore\", \"name\":\"update dependencies\", \"attributes\":{\"goal\":\"Build\", \"previewUrl\":\"\"}, \"type\":\"custom\"}"
+          ]
+        },
+        "type": "blank",
+        "source": {
+          "location": "https://github.com/czen/MMCS_CS311.git",
+          "parameters": {}
+        },
+        "path": "/compilers",
+        "problems": [],
+        "mixins": [
+          "git"
+        ]
+      }
+    ],
+    "name": "compilers",
+    "commands": [],
+    "links": []
+  },
+  "id": "factory1pjjluomr1i06z82",
+  "ide": {
+    "onProjectsLoaded": {
+      "actions": [
+        {
+          "properties": {
+            "name": "sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
+          },
+          "id": "runCommand"
+        },
+        {
+          "properties": {
+            "name": "sudo apt install apt-transport-https"
+          },
+          "id": "runCommand"
+        },
+        {
+          "properties": {
+            "name": "echo \"deb https://download.mono-project.com/repo/ubuntu stable-xenial main\" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list"
+          },
+          "id": "runCommand"
+        },
+        {
+          "properties": {
+            "name": "sudo apt update"
+          },
+          "id": "runCommand"
+        },
+        {
+          "properties": {
+            "name": "sudo apt install mono-devel"
+          },
+          "id": "runCommand"
+        },
+        {
+          "properties": {
+            "name": "sudo apt install nuget"
+          },
+          "id": "runCommand"
+        },
+        {
+          "properties": {
+            "name": "nuget install NUnit.Runners"
+          },
+          "id": "runCommand"
+        }
+      ]
+    }
+  },
+  "creator": {
+    "name": "taccessviolation",
+    "email": "taccessviolation@gmail.com",
+    "created": 1538409179332,
+    "userId": "userq0aq1fdi7ksr4m6u"
+  }
+}
\ No newline at end of file
-- 
GitLab