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

Add cram scaffolding #193

Open
Ninjapouet opened this issue Jan 3, 2023 · 1 comment
Open

Add cram scaffolding #193

Ninjapouet opened this issue Jan 3, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Ninjapouet
Copy link

Would be nice to add cram in squeletons which would generate the folowwing defaults per program package:

  • tests/output-tests/XXX/cram.t/run.t
  • tests/output-tests/XXX/dune

with

$ cat dune
(cram (deps %{bin:xxx}))

where XXX is the package's name and xxx its executable.

@Ninjapouet Ninjapouet added the enhancement New feature or request label Jan 3, 2023
@lefessan
Copy link
Member

Unfortunately, there is currently no way to specify a directory for a package outside of the package directory itself.

So, it would probably be stored as src/PACKAGE/test/cram.t/ instead.

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

No branches or pull requests

2 participants