mirror of
https://github.com/mgree/ffs.git
synced 2024-09-11 19:17:40 +03:00
cleaner path handling
This commit is contained in:
parent
07f90fcf3c
commit
b4d2230519
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -36,5 +36,5 @@ jobs:
|
||||
cargo test
|
||||
|
||||
- name: Integration tests
|
||||
run: ./run_tests.sh
|
||||
run: PATH="$(pwd)/target/debug:$PATH" ./run_tests.sh
|
||||
|
||||
|
2
.github/workflows/latest.yml
vendored
2
.github/workflows/latest.yml
vendored
@ -38,7 +38,7 @@ jobs:
|
||||
cargo test
|
||||
|
||||
- name: Run integration tests
|
||||
run: ./run_tests.sh
|
||||
run: PATH="$(pwd)/target/release:$PATH" ./run_tests.sh
|
||||
|
||||
- name: Deploy 'latest' release
|
||||
uses: "marvinpinto/action-automatic-releases@latest"
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
title: "ffs: the file fileystem"
|
||||
description: "mount semi-structured data (like JSON) as a Unix filesystem"
|
||||
author: "[Michael Greenberg](http://mgree.github.io)"
|
||||
---
|
||||
|
||||
|
@ -1,6 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
PATH="$(pwd)/target/debug:$PATH"
|
||||
if ! which ffs >/dev/null 2>&1
|
||||
then
|
||||
DEBUG="$(pwd)/target/debug"
|
||||
[ -x "$DEBUG/ffs" ] || { echo Couldn\'t find ffs on "$PATH" or in "$DEBUG". ; exit 1 ; }
|
||||
PATH="$DEBUG:$PATH"
|
||||
fi
|
||||
|
||||
TOTAL=0
|
||||
FAILED=0
|
||||
|
Loading…
Reference in New Issue
Block a user