Skip to content

Commit 1ef8ea3

Browse files
committed
♻️ moving files around
1 parent 09a26ce commit 1ef8ea3

File tree

6 files changed

+22
-5
lines changed

6 files changed

+22
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
2020
jobs:
2121
# This workflow contains a single job called "build"
22-
build:
22+
self-test:
2323
# The type of runner that the job will run on
2424
runs-on: ubuntu-latest
2525
container: ghcr.io/jcaillon/valet

.gitignore

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### VS Code ###
22
.vscode/**
33
!.vscode/extensions.json
4-
!.vscode/valet.code-snippets
4+
!.vscode/settings.json
55

66
### WINDOWS ###
77
desktop.ini
@@ -22,4 +22,8 @@ benchmark.sh
2222
try.sh
2323
**.tag.gz
2424
**.zip
25-
lib-valet
25+
26+
### Valet ###
27+
lib-valet
28+
lib-valet.md
29+
.vscode/valet.code-snippets

.vscode/extensions.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
"rpinski.shebang-snippets",
2323
"remisa.shellman",
2424
"zjffun.snippetsmanager",
25-
"gruntfuggly.todo-tree"
25+
"gruntfuggly.todo-tree",
26+
"usernamehw.errorlens",
27+
"streetsidesoftware.code-spell-checker-french"
2628
]
2729
}

.vscode/settings.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
// https://www.gnu.org/software/bash/manual/html_node/Pattern-Matching.html
3+
"bashIde.globPattern": "**/@(lib-*|src/*.sh)",
4+
"bashIde.includeAllWorkspaceSymbols": true,
5+
"terminal.integrated.wordSeparators": " ()[]{}',\"`─‘’“”|⌜⌝"
6+
}

src/gitlab.sh renamed to commands.d/gitlab.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,10 @@ function gitlabProjects() {
2828
core::parseArguments "$@" && eval "${RETURNED_VALUE}"
2929
core::checkParseResults "${help:-}" "${parsingErrors:-}"
3030

31+
if command -v gitlab::getProjects &>/dev/null; then
32+
gitlab::getProjects "${role}"
33+
else
34+
core::fail "Function 'gitlab::getProjects' not implemented."
35+
fi
3136
:;
3237
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020
# done
2121
# ```
2222
function gitlab::getProjects() {
23-
:;
23+
log::info "Getting projects from GitLab..."
2424
}

0 commit comments

Comments
 (0)