Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clearly separate code, data, and doc files #1199

Open
larskuhtz opened this issue Apr 19, 2023 · 2 comments
Open

Clearly separate code, data, and doc files #1199

larskuhtz opened this issue Apr 19, 2023 · 2 comments

Comments

@larskuhtz
Copy link
Contributor

Currently it is hard to distribute test binaries without including all code because data files and code files are stored side by side in the same directories and somewhat inconsistently.

Different file types should be stored in well-defined locations. In particular code files (*.hs, and *.c, *.h) should not be mixed with test data (*.pact, *.yaml, *.repl, etc.). Also data files should be registered in pact.cabal appropriately.

@larskuhtz
Copy link
Contributor Author

Here is a list of data files and locations that are used by the tests:

./docs/
./golden/
./examples/
./tests/*.json
./tests/*.yaml
./tests/Utils/eth-keys.txt
./tests/add-sig/
./tests/cont-scripts/
./tests/lcov/
./tests/pact/
./tests/sign-scripts/
./tests/bench/bench.pact
./tests/bench/bench.repl

@jwiegley
Copy link
Contributor

This makes sense to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants