Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c6c7b25

Browse files
committed
add more gitpod tasks
1 parent 9c0be63 commit c6c7b25

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.gitpod.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,18 @@
22
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
33
# and commit this file to your remote git repository to share the goodness with others.
44

5+
ports:
6+
- port: 7080 # coder server port
7+
onOpen: open-preview
58
tasks:
69
- name: install depends
710
init: sudo apt install zstd && \
811
sudo wget -o /usr/local/bin/shfmt https://github.com/mvdan/sh/releases/download/v3.0.1/shfmt_v3.0.1_linux_amd64 && \
9-
sudo chmod /usr/local/bin/shfmt
12+
sudo chmod +x /usr/local/bin/shfmt
1013

14+
- name: build
15+
command: make
1116

17+
- name: test
18+
command: docker-compose up -d
1219

0 commit comments

Comments
 (0)