-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support app directories in all commands (#1061)
* Support app directories in all commands 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. * Speed up app loading and checks * 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. * Try to fix macOS build It can't find `webp/demux.h` any more for some reason.
- Loading branch information
1 parent
147f068
commit 29d4064
Showing
14 changed files
with
188 additions
and
253 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
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.