-
Notifications
You must be signed in to change notification settings - Fork 64
/
.codenvy.json
73 lines (73 loc) · 5.74 KB
/
.codenvy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "compilers",
"defaultEnv": "default",
"environments": {
"default": {
"machines": {
"dev-machine": {
"attributes": {
"memoryLimitBytes": "1073741823"
},
"servers": {},
"agents": [
"org.eclipse.che.ws-agent",
"org.eclipse.che.ssh",
"org.eclipse.che.terminal",
"org.eclipse.che.exec"
]
}
},
"recipe": {
"type": "dockerfile",
"content": "# Copyright (c) 2012-2017 Codenvy, S.A.\n# All rights reserved. This program and the accompanying materials\n# are made available under the terms of the Eclipse Public License v1.0\n# which accompanies this distribution, and is available at\n# http://www.eclipse.org/legal/epl-v10.html\n# Contributors:\n# Codenvy, S.A. - initial API and implementation\n\nFROM eclipse/stack-base:ubuntu\nENV OMISHARP_VERSION 1.31.1\nENV OMNISHARP_DOWNLOAD_URL https://github.com/OmniSharp/omnisharp-roslyn/releases/download/v${OMISHARP_VERSION}/omnisharp-linux-x64.tar.gz\nENV CSHARP_LS_DIR ${HOME}/che/ls-csharp\nRUN sudo apt-get update && sudo apt-get install apt-transport-https -y && \\\n curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > ~/microsoft.gpg && \\\n sudo mv ~/microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg && \\\n sudo sh -c 'echo \"deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main\" > /etc/apt/sources.list.d/dotnetdev.list' && \\\n sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && \\\n sudo apt-get update && \\\n sudo apt-get install -y \\\n dotnet-sdk-2.0.0 && \\\n sudo apt-get -y clean && \\\n sudo rm -rf /var/lib/apt/lists/* && \\\n mkdir -p ${CSHARP_LS_DIR}\n\nRUN cd ${CSHARP_LS_DIR} && wget https://github.com/OmniSharp/omnisharp-roslyn/releases/download/v1.31.1/omnisharp-linux-x64.tar.gz && \\\n tar -xvf omnisharp-linux-x64.tar.gz --strip 1 && \\\n sudo chgrp -R 0 ${CSHARP_LS_DIR} && \\\n sudo chmod -R g+rwX ${CSHARP_LS_DIR}\n\nRUN sudo apt-get update && \\\n sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && \\\n sudo apt install -y apt-transport-https && \\\n echo \"deb https://download.mono-project.com/repo/ubuntu stable-xenial main\" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list && \\\n sudo apt update && \\\n sudo apt install -y mono-devel && \\\n sudo apt install -y nuget\n\nEXPOSE 5000 9000\nCMD tail -f /dev/null\n",
"contentType": "text/x-dockerfile"
}
}
},
"commands": [
{
"name": "generated lexer tests",
"type": "custom",
"attributes": {
"goal": "Test"
},
"commandLine": "cd ${current.project.path} && mono NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe TestGeneratedLexer/bin/Debug/TestGeneratedLexer.dll"
}
],
"projects": [
{
"name": "MMCS_CS311",
"type": "blank",
"path": "/MMCS_CS311",
"attributes": {
"contribute_to_branch": [
"master"
],
"commands": [
"{\"commandLine\":\"cd ${current.project.path} && mono NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe TestVisitors/bin/Debug/TestVisitors.dll\", \"name\":\"visitors tests\", \"attributes\":{\"goal\":\"Test\"}, \"type\":\"custom\"}",
"{\"commandLine\":\"cd ${current.project.path} && mono NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe TestCodeGenerator/bin/Debug/TestCodeGenerator.dll\", \"name\":\"code generator tests\", \"attributes\":{\"goal\":\"Test\"}, \"type\":\"custom\"}",
"{\"commandLine\":\"cd ${current.project.path} && mono NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe TestASTParser/bin/Debug/TestASTParser.dll\", \"name\":\"AST parser tests\", \"attributes\":{\"goal\":\"Test\"}, \"type\":\"custom\"}",
"{\"commandLine\":\"cd ${current.project.path} && mono NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe TestGeneratedParser/bin/Debug/TestGeneratedParser.dll\", \"name\":\"generated parser tests\", \"attributes\":{\"goal\":\"Test\"}, \"type\":\"custom\"}",
"{\"commandLine\":\"cd ${current.project.path} && mono NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe TestDescentParser/bin/Debug/TestDescentParser.dll\", \"name\":\"simple parser tests\", \"attributes\":{\"goal\":\"Test\"}, \"type\":\"custom\"}",
"{\"commandLine\":\"cd ${current.project.path} && mono NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe TestLexer/bin/Debug/TestLexer.dll\", \"name\":\"lexer tests\", \"attributes\":{\"goal\":\"Test\"}, \"type\":\"custom\"}",
"{\"commandLine\":\"cd ${current.project.path} && mono NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe TestSimpleLexer/bin/Debug/TestSimpleLexer.dll\", \"name\":\"simple lexer tests\", \"attributes\":{\"goal\":\"Test\"}, \"type\":\"custom\"}",
"{\"commandLine\":\"cd ${current.project.path} && ./run_tests.sh\", \"name\":\"run all tests\", \"attributes\":{\"goal\":\"Test\"}, \"type\":\"custom\"}",
"{\"commandLine\":\"cd ${current.project.path} && nuget restore && nuget install NUnit.Console\", \"name\":\"restore nuget packages\", \"attributes\":{\"goal\":\"Build\"}, \"type\":\"custom\"}",
"{\"commandLine\":\"cd ${current.project.path} && xbuild /p:TargetFrameworkVersion=\\\"v4.0\\\"\", \"name\":\"build with xbuild\", \"attributes\":{\"goal\":\"Build\"}, \"type\":\"custom\"}"
]
},
"description": "",
"source": {
"location": "https://github.com/czen/MMCS_CS311.git",
"type": "git",
"parameters": {}
},
"links": [],
"problems": [],
"mixins": [
"pullrequest"
]
}
],
"links": []
}