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

Ch. 2.3: location of lake build outputs moved in 4.3.0 #141

Open
tmoux opened this issue Dec 22, 2023 · 1 comment
Open

Ch. 2.3: location of lake build outputs moved in 4.3.0 #141

tmoux opened this issue Dec 22, 2023 · 1 comment

Comments

@tmoux
Copy link

tmoux commented Dec 22, 2023

Please quote the text that is incorrect:

To build the package, run the command lake build. After a number of build commands scroll by, the resulting binary has been placed in build/bin. Running ./build/bin/greeting results in Hello, world!.

In what way is this incorrect?

Since 4.3.0, lake build by default puts all build outputs in the .lake/ directory, so the path to the executable should be .lake/build/bin/greeting. This can be confusing to people who run lake build and don't immediately see where the build folder is.

@david-christiansen
Copy link
Collaborator

You're right - the intro to the book states which version it follows, and it could use a bump soon, but not everyone will read that bit of the introduction.

Luckily for me, my past self set it up so these things mostly get tested during the build of the book text, but I'll double-check that this gets fixed on my next round of updates.

Thanks!

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