-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitpod.yml
More file actions
24 lines (21 loc) · 761 Bytes
/
.gitpod.yml
File metadata and controls
24 lines (21 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
image:
file: .gitpod.Dockerfile
ports:
# IHP Server
- port: 8000
onOpen: open-browser
# IDE
- port: 8001
onOpen: open-browser
tasks:
- init: >
( if [ ! -e "Main.hs" ]; then rm -rf /tmp/ihp-boilerplate; git clone https://github.com/digitallyinduced/ihp-boilerplate.git /tmp/ihp-boilerplate; rm -rf /tmp/ihp-boilerplate/.git; cp -r /tmp/ihp-boilerplate/. .; nix-shell -j auto --cores 0 --quiet --run 'make -s all .envrc; new-application Web'; fi) && nix-shell -j auto --cores 0 --run 'make -s all .envrc' && direnv allow
command: >
export IHP_BASEURL=`gp url 8000`;
export IHP_IDE_BASEURL=`gp url 8001`;
./start
vscode:
extensions:
- haskell.haskell
- s0kil.vscode-hsx
- arrterian.nix-env-selector