Merge pull request 'cli: add test for --help' (#79) from Mic92-mic92 into main
All checks were successful
build / test (push) Successful in 7s
All checks were successful
build / test (push) Successful in 7s
This commit is contained in:
commit
5ac5e32214
@ -21,8 +21,7 @@ rest=$(echo "$COMMIT_MSG" | tail -n+2)
|
|||||||
if [[ "$firstLine" == "$rest" ]]; then
|
if [[ "$firstLine" == "$rest" ]]; then
|
||||||
rest=""
|
rest=""
|
||||||
fi
|
fi
|
||||||
|
git push --force -u "$remoteName" HEAD:refs/heads/"$tempRemoteBranch"
|
||||||
git push -u "$remoteName" HEAD:refs/heads/"$tempRemoteBranch"
|
|
||||||
|
|
||||||
tea pr create \
|
tea pr create \
|
||||||
--title "$firstLine" \
|
--title "$firstLine" \
|
||||||
|
@ -77,5 +77,8 @@ python3.pkgs.buildPythonPackage {
|
|||||||
installShellCompletion --fish --name clan.fish \
|
installShellCompletion --fish --name clan.fish \
|
||||||
<(${argcomplete}/bin/register-python-argcomplete --shell fish clan)
|
<(${argcomplete}/bin/register-python-argcomplete --shell fish clan)
|
||||||
'';
|
'';
|
||||||
|
checkPhase = ''
|
||||||
|
PYTHONPATH= $out/bin/clan --help
|
||||||
|
'';
|
||||||
meta.mainProgram = "clan";
|
meta.mainProgram = "clan";
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
name = "clan"
|
name = "clan"
|
||||||
description = "cLAN CLI tool"
|
description = "cLAN CLI tool"
|
||||||
dynamic = [ "version" ]
|
dynamic = [ "version" ]
|
||||||
scripts = { clan = "clan_cli.cli:main" }
|
scripts = { clan = "clan_cli:main" }
|
||||||
|
|
||||||
[tool.setuptools.packages]
|
[tool.setuptools.packages]
|
||||||
find = {}
|
find = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user