Skip to content

Commit

Permalink
Merge pull request #184 from Krakinou/master
Browse files Browse the repository at this point in the history
Remove non parsed options
  • Loading branch information
alexAubin authored Nov 17, 2024
2 parents e1441db + 1b3a74a commit e0e9626
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ cd package_check
./package_check.sh your_app_ynh
```

You can select the architecture, the debian version and/or the Yunohost Branch by adding a `config` file in `package_check` folder

````bash
ARCH=amd64
DIST=bullseye
YNH_BRANCH=stable
````

## Features

The script is able to perform the following tests:
Expand Down
7 changes: 3 additions & 4 deletions package_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ print_help() {
cat << EOF
Usage: package_check.sh [OPTION]... PACKAGE_TO_CHECK
-b, --branch=BRANCH Specify a branch to check.
-a, --arch=ARCH
-d, --dist=DIST
-y, --ynh-branch=BRANCH
-b, --branch=BRANCH Specify a branch to check.
-D, --dry-run Show a JSON representing which tests are going to be ran (meant for debugging)
-i, --interactive Wait for the user to continue before each remove
-e, --interactive-on-errors Wait for the user to continue on errors
Expand All @@ -25,6 +22,8 @@ print_help() {
-h, --help Display this help
Pass YNHDEV_BACKEND=incus|lxd to use a specific LXD-compatible backend.
Pass DIST=bullseye|bookworm to use a specific distribution version
Pass YNH_BRANCH=stable|unstable to use a specific Yunohost branch
EOF
exit 0
Expand Down

0 comments on commit e0e9626

Please sign in to comment.