Skip to content

Commit

Permalink
Install ninja bash completions (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt authored Jul 16, 2024
1 parent edf2f65 commit fa0901f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion features/src/ninja/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "Ninja build",
"id": "ninja",
"version": "24.8.1",
"version": "24.8.2",
"description": "A feature to install ninja-build",
"options": {
"version": {
"type": "string",
"proposals": [
"latest",
"1.12.1",
"1.12.0"
],
"default": "latest",
Expand Down
4 changes: 4 additions & 0 deletions features/src/ninja/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ wget --no-hsts -q -O /tmp/ninja-linux.zip \
unzip -d /usr/bin /tmp/ninja-linux.zip;
chmod +x /usr/bin/ninja;

# Install Ninja bash completions
wget --no-hsts -q -O /usr/share/bash-completion/completions/ninja \
"https://github.com/ninja-build/ninja/raw/v${NINJA_VERSION}/misc/bash-completion";

# Clean up
rm -rf /var/tmp/*;
rm -rf /var/cache/apt/*;
Expand Down

0 comments on commit fa0901f

Please sign in to comment.