1
1
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:
Michael Greenberg 2021-06-25 14:39:23 -04:00
parent 07f90fcf3c
commit b4d2230519
4 changed files with 9 additions and 3 deletions

View File

@ -36,5 +36,5 @@ jobs:
cargo test
- name: Integration tests
run: ./run_tests.sh
run: PATH="$(pwd)/target/debug:$PATH" ./run_tests.sh

View File

@ -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"

View File

@ -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)"
---

View File

@ -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