Skip to content

Commit

Permalink
Compatibility with new upkg
Browse files Browse the repository at this point in the history
  • Loading branch information
andsens committed Apr 25, 2024
1 parent c1547f4 commit 39cb676
Show file tree
Hide file tree
Showing 15 changed files with 36 additions and 38 deletions.
5 changes: 5 additions & 0 deletions bin/path_append.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
# shellcheck source-path=..
set -eo pipefail; shopt -s inherit_errexit
source "$(realpath "$(dirname "$(realpath "${BASH_SOURCE[0]}")")/..")/path-tools.sh"
path_append "$@"
5 changes: 5 additions & 0 deletions bin/path_contains.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
# shellcheck source-path=..
set -eo pipefail; shopt -s inherit_errexit
source "$(realpath "$(dirname "$(realpath "${BASH_SOURCE[0]}")")/..")/path-tools.sh"
path_contains "$@"
5 changes: 5 additions & 0 deletions bin/path_insert_after.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
# shellcheck source-path=..
set -eo pipefail; shopt -s inherit_errexit
source "$(realpath "$(dirname "$(realpath "${BASH_SOURCE[0]}")")/..")/path-tools.sh"
path_insert_after "$@"
5 changes: 5 additions & 0 deletions bin/path_insert_before.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
# shellcheck source-path=..
set -eo pipefail; shopt -s inherit_errexit
source "$(realpath "$(dirname "$(realpath "${BASH_SOURCE[0]}")")/..")/path-tools.sh"
path_insert_before "$@"
5 changes: 5 additions & 0 deletions bin/path_prepend.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
# shellcheck source-path=..
set -eo pipefail; shopt -s inherit_errexit
source "$(realpath "$(dirname "$(realpath "${BASH_SOURCE[0]}")")/..")/path-tools.sh"
path_prepend "$@"
5 changes: 5 additions & 0 deletions bin/path_remove.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
# shellcheck source-path=..
set -eo pipefail; shopt -s inherit_errexit
source "$(realpath "$(dirname "$(realpath "${BASH_SOURCE[0]}")")/..")/path-tools.sh"
path_remove "$@"
5 changes: 5 additions & 0 deletions bin/path_validate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
# shellcheck source-path=..
set -eo pipefail; shopt -s inherit_errexit
source "$(realpath "$(dirname "$(realpath "${BASH_SOURCE[0]}")")/..")/path-tools.sh"
path_validate "$@"
4 changes: 0 additions & 4 deletions path_append.sh

This file was deleted.

4 changes: 0 additions & 4 deletions path_contains.sh

This file was deleted.

4 changes: 0 additions & 4 deletions path_insert_after.sh

This file was deleted.

4 changes: 0 additions & 4 deletions path_insert_before.sh

This file was deleted.

4 changes: 0 additions & 4 deletions path_prepend.sh

This file was deleted.

4 changes: 0 additions & 4 deletions path_remove.sh

This file was deleted.

4 changes: 0 additions & 4 deletions path_validate.sh

This file was deleted.

11 changes: 1 addition & 10 deletions upkg.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
{
"assets": ["path-tools.sh"],
"commands": {
"path_append": "path_append.sh",
"path_prepend": "path_prepend.sh",
"path_insert_after": "path_insert_after.sh",
"path_insert_before": "path_insert_before.sh",
"path_remove": "path_remove.sh",
"path_contains": "path_contains.sh",
"path_validate": "path_remove.sh"
}
"name": "path-tools"
}

0 comments on commit 39cb676

Please sign in to comment.