File tree Expand file tree Collapse file tree 3 files changed +47
-0
lines changed
Expand file tree Collapse file tree 3 files changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "name" : " CircleCI CLI" ,
3+ "id" : " circleci-cli" ,
4+ "version" : " 1.0.0" ,
5+ "description" : " Install the CircleCI CLI." ,
6+ "options" : {
7+ "version" : {
8+ "default" : " latest" ,
9+ "description" : " Specify what version to install." ,
10+ "type" : " string"
11+ },
12+ "destdir" : {
13+ "default" : " /usr/local/bin/" ,
14+ "description" : " Filesystem location of the circleci binary." ,
15+ "type" : " string"
16+ }
17+ },
18+ "customizations" : {
19+ "vscode" : {
20+ "extensions" : [
21+ " circleci.circleci"
22+ ]
23+ }
24+ }
25+ }
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -e
4+
5+ export VERSION=" ${VERSION:- latest} "
6+ export DESTDIR=" ${DESTDIR:-/ usr/ local/ bin} "
7+
8+ if [[ " $VERSION " = " latest" ]]; then {
9+ # The remote script treats empty input as "latest"
10+ unset VERSION
11+ } fi
12+
13+ curl -fLSs https://raw.githubusercontent.com/CircleCI-Public/circleci-cli/master/install.sh | bash
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+
5+ source dev-container-features-test-lib
6+
7+ check " version" bash -c " circleci version"
8+
9+ reportResults
You can’t perform that action at this time.
0 commit comments