mirror of
https://github.com/akuker/RASCSI.git
synced 2025-02-18 01:31:02 +00:00
Cleanup rascsi-web mocking for current develop (#301)
This commit is contained in:
parent
b79fd17f6f
commit
8f09f97d30
@ -15,7 +15,9 @@ $ BASE_DIR=/tmp/images/ PATH=$PATH:`pwd`/mock/bin/ python3 web.py
|
|||||||
|
|
||||||
### Mocks for local development
|
### Mocks for local development
|
||||||
|
|
||||||
You may edit the files under `mock/bin` to simulate rascsi command responses.
|
You may edit the files under `mock/bin` to simulate Linux command responses.
|
||||||
|
TODO: rascsi-web uses protobuf commands to send and receive data from rascsi.
|
||||||
|
A separate mocking solusion will be needed for this interface.
|
||||||
|
|
||||||
## Pushing to the Pi via git
|
## Pushing to the Pi via git
|
||||||
|
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Mock responses to rascsi-web
|
|
||||||
case $1 in
|
|
||||||
"link")
|
|
||||||
echo "link here"
|
|
||||||
;;
|
|
||||||
|
|
||||||
**)
|
|
||||||
echo "default"
|
|
||||||
;;
|
|
||||||
esac
|
|
@ -1,12 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Mock responses to rascsi-web
|
|
||||||
case $1 in
|
|
||||||
-f)
|
|
||||||
echo "logs here"
|
|
||||||
;;
|
|
||||||
|
|
||||||
**)
|
|
||||||
echo "default"
|
|
||||||
;;
|
|
||||||
esac
|
|
Loading…
x
Reference in New Issue
Block a user