Skip to content

Commit 2b9827e

Browse files
authored
Merge pull request #19 from tommygonzaleza/master
Migrated to VSCode
2 parents 59d2593 + 3a33a03 commit 2b9827e

File tree

3 files changed

+14
-27
lines changed

3 files changed

+14
-27
lines changed

Diff for: .gitpod.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
FROM gitpod/workspace-full:latest
22
USER gitpod
33
RUN pip3 install pytest==4.4.2 pytest-testdox mock
4-
RUN npm i -g learnpack && learnpack plugins:install learnpack-python
4+
RUN npm i -g learnpack@0.1.12 && learnpack plugins:install learnpack-python@0.0.34

Diff for: .gitpod.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@ image:
33

44
ports:
55
- port: 3000
6-
onOpen: open-preview
7-
tasks:
8-
- command: learnpack start
6+
onOpen: ignore
7+
8+
vscode:
9+
extensions:
10+
- learnpack.learnpack-vscode
11+
912
github:
1013
prebuilds:
1114
# enable for the master/default branch (defaults to true)

Diff for: learn.json

+7-23
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,15 @@
11
{
2-
"port": 3000,
3-
"address": "https://a59821c5-aefc-458f-84bb-510905bccbff.ws-us03.gitpod.io",
4-
"editor": "gitpod",
5-
"configPath": {
6-
"config": "bc.json",
7-
"base": ".learn",
8-
"exercises": "./exercises",
9-
"output": ".learn/dist"
10-
},
11-
"outputPath": "./.learn/dist",
12-
"publicPath": "/preview",
13-
"grading": "isolated",
14-
"disable_grading": false,
15-
"language": "python3",
16-
"compiler": "python3",
17-
"tester": "pytest",
18-
"actions": [
19-
"run",
20-
"test",
21-
"reset"
22-
],
232
"title": "Learn Python Functions Interactively",
243
"repository": "https://github.com/4GeeksAcademy/python-functions-programming-exercises",
254
"preview": "https://github.com/4GeeksAcademy/python-functions-programming-exercises/blob/master/preview.gif?raw=true",
265
"description": "Learn and master functional programing by doing auto-graded interactive exercises.",
276
"duration": 10,
287
"difficulty": "easy",
298
"video-solutions": false,
30-
"graded": true
31-
}
9+
"graded": true,
10+
"config": {
11+
"editor": {
12+
"version": "1.0.68"
13+
}
14+
}
15+
}

0 commit comments

Comments
 (0)