-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitpod.yml
44 lines (38 loc) · 1.24 KB
/
.gitpod.yml
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
image:
file: .gitpod.Dockerfile
tasks:
- before: |
sudo mount -t tmpfs shm -osize=4096m /dev/shm
dart pub get
eval $(command gp env -e) # Load environment variables
WAKATIME_PATH=~/.wakatime.cfg
rm $WAKATIME_PATH
touch $WAKATIME_PATH
echo -n "${WAKATIME}" | base64 --decode > $WAKATIME_PATH
VSCODE_SETTINGS_PATH=$HOME/.config/Code/User/settings.json
rm $VSCODE_SETTINGS_PATH
mkdir $HOME/.config/Code
mkdir $HOME/.config/Code/User
touch $VSCODE_SETTINGS_PATH
echo -n "${VSCODE_SETTINGS}" | base64 --decode > $VSCODE_SETTINGS_PATH
wget -O "/home/gitpod/.cache/dart-data-class-generator-0.5.5_vsixhub.vsix" https://www.dropbox.com/s/1fx13fsjekiuwpk/dart-data-class-generator-0.5.5_vsixhub.vsix?dl=1
(gp await-port 23000 && code --install-extension /home/gitpod/.cache/dart-data-class-generator-0.5.5_vsixhub.vsix) & disown; exit
- init: |
flutter upgrade
dart --disable-analytics
brew install git-flow
- command: |
dart pub get
ports:
- port: 5900
onOpen: ignore
# vnc
- port: 6080
onOpen: ignore
# flutter
- port: 8080
onOpen: ignore
vscode:
extensions:
- dart-code.dart-code
- wakatime.vscode-wakatime