Skip to content

Commit 2b05879

Browse files
authored
Merge pull request #79 from schlich/fix-starship-deps
Fix starship deps
2 parents 7c2dfa4 + 71aed4b commit 2b05879

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
features:
2727
- rye
2828
- cypress
29+
- starship
2930
steps:
3031
- uses: actions/checkout@v4
3132

@@ -44,6 +45,7 @@ jobs:
4445
- rye
4546
- cypress
4647
- playwright
48+
- starship
4749
steps:
4850
- uses: actions/checkout@v4
4951

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "starship",
3-
"version": "0.1.5",
3+
"version": "0.1.6",
44
"name": "Starship",
55
"description": "The minimal, blazing-fast, and infinitely customizable prompt for any shell!",
6-
"postCreateCommand": "echo 'eval \"$(starship init bash)\"' >> ~/.bashrc"
6+
"dependsOn": {"ghcr.io/devcontainers/features/common-utils:2": {}}
77
}

src/starship/install.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/bin/sh
1+
#!/bin/env bash
22

3-
apt-get install -y curl
43
curl -sS https://starship.rs/install.sh | sh -s -- -y

test/starship/test.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
source dev-container-features-test-lib
6+
7+
check "binary in path" which starship
8+
9+
reportResults

0 commit comments

Comments
 (0)