-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CLI and some workflows (#130)
* Update CLI and some workflows * Added experimental formatting to CLI
- Loading branch information
1 parent
3fab1f7
commit ac2ba2e
Showing
15 changed files
with
244 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,10 +46,6 @@ jobs: | |
env: | ||
CARGO_PROFILE_RELEASE_DEBUG: true | ||
|
||
- name: Download files | ||
run: | | ||
curl https://esm.sh/v128/[email protected]/es2022/react-dom.mjs > react.js | ||
- name: Run checker performance | ||
shell: bash | ||
run: | | ||
|
@@ -58,12 +54,6 @@ jobs: | |
# Generate a file which contains everything that Ezno currently implements | ||
cargo run -p ezno-parser --example code_blocks_to_script ./checker/specification/specification.md ./demo.ts | ||
echo "::group::Generated demo.ts" | ||
cat ./demo.ts | ||
cargo run -p ezno-parser --example parse demo.ts --timings | ||
echo "::endgroup::" | ||
echo "::info::Finished file generation" | ||
echo "<details> | ||
|
@@ -89,7 +79,7 @@ jobs: | |
# Printing diagnostics, so turn colors off for GH Summary (also affects printing perf I think) | ||
NO_COLOR=1 | ||
./target/release/ezno check demo.ts --timings &>> $GITHUB_STEP_SUMMARY | ||
(./target/release/ezno check demo.ts --timings &>> $GITHUB_STEP_SUMMARY) || true | ||
echo "\`\`\` | ||
</details> | ||
|
@@ -105,6 +95,10 @@ jobs: | |
echo "::group::Comparing printing of diagnostics" | ||
hyperfine -i './target/release/ezno check demo.ts' './target/release/ezno check demo.ts --count-diagnostics' | ||
echo "::endgroup::" | ||
- name: Download parser files | ||
run: | | ||
curl https://esm.sh/v128/[email protected]/es2022/react-dom.mjs > react.js | ||
- name: Run parser, minfier/stringer performance | ||
shell: bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.