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

make test: opam.wiki: No such file or directory #193

Open
serpent7776 opened this issue Dec 25, 2020 · 2 comments
Open

make test: opam.wiki: No such file or directory #193

serpent7776 opened this issue Dec 25, 2020 · 2 comments

Comments

@serpent7776
Copy link

When running make test:

dune build
Done: 0/0 (jobs: 0)rm -rf www
mkdir -p www/content/doc www/content/blog
cd www &&  cp -r ../content . &&  cp -r ../../opam.wiki/* content/doc/ &&  cp -r ../../opam-blog/* content/blog/
cp: ../../opam.wiki/*: No such file or directory
*** Error code 1

Stop.

Makefile references ../../opam-blog/* and ../../opam.wiki/*, but these directories aren't set up neither by makefile nor dune.

@rjbou
Copy link
Contributor

rjbou commented Jan 6, 2021

It's not written in the documentation, the test target (and test script) relies on the opam.ocaml.org directory structure, ie having in opam2web parent directory the wiki repo opam.wiki (in its 1.0 version branch), the opam blog repo opam-blog, and opam repo with its documentation generated

@serpent7776
Copy link
Author

I think it should be clarified in the docs that this is a requirement and how to set it up.

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