Move git-check-assertions to bin/
This commit is contained in:
parent
601a51109d
commit
a82e98d775
3 changed files with 4 additions and 4 deletions
|
|
@ -20,7 +20,7 @@ resholve.mkDerivation {
|
|||
src = fs.toSource {
|
||||
root = ./.;
|
||||
fileset = fs.unions [
|
||||
./git-check-assertions
|
||||
./bin/git-check-assertions
|
||||
./test.bats
|
||||
];
|
||||
};
|
||||
|
|
@ -37,7 +37,7 @@ resholve.mkDerivation {
|
|||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
shellcheck git-check-assertions test.bats
|
||||
shellcheck bin/git-check-assertions test.bats
|
||||
git init
|
||||
git config user.email test
|
||||
git config user.name test
|
||||
|
|
@ -52,7 +52,7 @@ resholve.mkDerivation {
|
|||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/bin
|
||||
cp $src/git-check-assertions $out/bin/git-check-assertions
|
||||
cp $src/bin/git-check-assertions $out/bin/git-check-assertions
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
setup() {
|
||||
DIR="$( cd "$( dirname "$BATS_TEST_FILENAME" )" >/dev/null 2>&1 && pwd )"
|
||||
PATH="$DIR:$PATH"
|
||||
PATH="$DIR/bin:$PATH"
|
||||
}
|
||||
|
||||
@test "can run" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue