Skip to content

Commit ed340c0

Browse files
committed
build: create gitpod.yml
This allows `git-branchless` to be developed and executed in the cloud.
1 parent ff4e2af commit ed340c0

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

.gitpod.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
image:
2+
file: .gitpod/Dockerfile
3+
tasks:
4+
- init: cargo build --tests && cargo install --path . && git branchless init
5+
vscode:
6+
extensions:
7+
- "matklad.rust-analyzer"

.gitpod/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM gitpod/workspace-full
2+
3+
# The following environment variables are necessary for `cargo test` to pass.
4+
# Determined by running `which git` and `git --exec-path`.
5+
ENV PATH_TO_GIT=/usr/bin/git GIT_EXEC_PATH=/usr/lib/git-core

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"editor.formatOnSave": true,
3-
"editor.formatOnType": true
3+
"editor.formatOnType": true,
4+
"files.insertFinalNewline": true
45
}

0 commit comments

Comments
 (0)