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

Rename inklecate to inkjs-compiler #954

Merged
merged 3 commits into from
Oct 18, 2022
Merged

Rename inklecate to inkjs-compiler #954

merged 3 commits into from
Oct 18, 2022

Conversation

smwhr
Copy link
Collaborator

@smwhr smwhr commented May 7, 2022

The community has voted, so the renaming shall be !

Checklist

  • The new code additions passed the tests (npm test).
  • The linter ran and found no issues (npm run-script lint).

Description

Rename inklecate to inkjs-compiler
There was a small bug with INCLUDEs when using inkjs-compiler (path resolution was wrong), it's been updated.

@@ -101,11 +104,11 @@ async function compileInkFile(inklecate) {
if (errors.length === 0) {
console.log("Done.");
} else {
errors.forEach((error) => console.error(`\n${error.reason.message}`));
errors.forEach((error) => console.error(`\n${error.reason.message.substring(0,255)}`));
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When using the minified "inkjs-compiler.js", error message include the full unreadable stack trace. 255 chars should be enough to identify which test failed and run it individually.

}
}

let inklecate = process.argv[3];
let inklecate = process.argv[2];
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[2] was not used, not sure why it looked at [3]

@smwhr smwhr requested review from ephread and y-lohse May 7, 2022 13:46
@smwhr smwhr merged commit 1a79adf into master Oct 18, 2022
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

Successfully merging this pull request may close these issues.

1 participant