-
Notifications
You must be signed in to change notification settings - Fork 30
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
Devise a way to lock the version of jk when generating configuration #180
Comments
Doesn't |
Yes, something like this indeed :) we can't mandate the presence of a |
Why? How would it be different from mandating presence of |
I don't know if we'll always use import { serve } from "https://deno.land/std@v0.3.2/http/server.ts";
async function main() {
const body = new TextEncoder().encode("Hello World\n");
for await (const req of serve(":8000")) {
req.respond({ body });
}
}
main(); |
https://whatwg.github.io/loader/#intro ...interesting. |
@palemtnrider made the comment that, if the goal is to always generate the same output for the same input script, it'd be a good idea to also ensure everyone (all developers but also CI, a potential future flux hook, ...) is running the same version of
jk
.I was thinking we should support reading a
.jkcfg
config file in the current working directly where we could source options from instead of having them on the command line. That file could also hold the requiredjk
version andjk
could bail out if the its version doesn't match the specified version, eg.:The text was updated successfully, but these errors were encountered: