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
Inconsistent relative build paths for CLI params --output-path and --buildstate-path #1103
Comments
Having thought more about this, I'm willing to call this a bug. In general, it seems unexpected and surprising for any path specified on the command line to be interpreted relative to anything but the current working directory. Do note that it is also possible to set the So we should support both:
To add one more ball to juggle: also note that the location of the project tree — the directory that contains the |
Another buglet: It appears that relative |
If you provide a relative path to the lektor build command, the paths are relative to different folders.
Consider this folder structure:
running this command:
Creates these two folder:
I find it a bit confusing that output-path is relative to the project file whereas buildstate is relative to the current working directory.
The text was updated successfully, but these errors were encountered: