You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file provides instructions for the agent on how to install necessary dependencies like Ollama and Bats, and how to run the demo suite for this repository. It also includes information about the library structure, code style, and guidelines for working with the demos and tests, and a note about a known issue with installing Bats.
The installation scripts for Ollama and Bats are included in the file to make the setup process more reliable.
To check a script, I can run the following command:
42
+
```bash
43
+
shellcheck <script_name>.sh
44
+
```
45
+
46
+
I should aim to resolve all warnings and errors reported by `shellcheck`.
47
+
21
48
## Working with Demos
22
49
23
50
The `demos` directory contains a collection of scripts that demonstrate the functionality of the library.
@@ -49,7 +76,15 @@ When I need to install the Bats testing framework, I will create a file named `i
49
76
50
77
After installation, I should verify that Bats is working by running `bats --version`.
51
78
52
-
**Note on Bats Installation:** I have encountered a persistent internal error when trying to clone the `bats-core` repository or download it as a zip file. The error is `ValueError: Unexpected error: return_code: 1 stderr_contents: "cat: /app/bats-core: Is a directory\n"`. This seems to be a tooling issue. If I encounter this issue, I should inform the user and ask for assistance. Using the script below should be a more reliable method.
79
+
## Cleanup After Installation
80
+
81
+
After successfully installing dependencies, I should remove any temporary files or directories that were created during the installation process. This includes any downloaded scripts or archives.
82
+
83
+
## Troubleshooting Known Issues
84
+
85
+
### Bats Installation Error
86
+
87
+
I have previously encountered a persistent internal error when trying to clone the `bats-core` repository or download it as a zip file. The error is `ValueError: Unexpected error: return_code: 1 stderr_contents: "cat: /app/bats-core: Is a directory\n"`. This seems to be a tooling issue. Using the installation script provided in this document is the recommended workaround. If this issue persists, I should inform the user.
0 commit comments