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

Support app directories in all commands #1061

Merged
merged 3 commits into from
Apr 26, 2024
Merged

Support app directories in all commands #1061

merged 3 commits into from
Apr 26, 2024

Conversation

rohansingh
Copy link
Member

Support multi-file app directories in remaining commands like check, profile, lint, etc.

Note that pixlet check no longer supports the -r flag for recursively searching through a directory. This is because a single app can now contain subfolders with Starlark files, which should be checked and validated as part of the enclosing app.

This change also removes spell-checking entirely.

Support multi-file app directories in remaining commands like `check`,
`profile`, `lint`, etc.

Note that `pixlet check` no longer supports the `-r` flag for
recursively searching through a directory. This is because a single app
can now contain subfolders with Starlark files, which should be checked
and validated as part of the enclosing app.

This change also removes spell-checking entirely.
@rohansingh rohansingh force-pushed the rohan/bundle-cmds branch 5 times, most recently from efe69ac to 39fb0b5 Compare April 26, 2024 16:37
* We were loading an applet by walking its entire source FS, but
  skipping any files outside of the root directory. Instead, just list
  and process the files in the root directory explicitly.

* Move buildifier-based checks to the end of `pixlet check`, since they
  walk the entire directory tree. This means they won't run if there are
  any other errors, which are quicker to find.
It can't find `webp/demux.h` any more for some reason.
@rohansingh rohansingh enabled auto-merge (squash) April 26, 2024 16:54
@rohansingh rohansingh merged commit 29d4064 into main Apr 26, 2024
7 checks passed
@rohansingh rohansingh deleted the rohan/bundle-cmds branch April 26, 2024 16:54
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