Changeset View
Changeset View
Standalone View
Standalone View
scripts/lib/PhutilLibraryMapBuilder.php
| Show First 20 Lines • Show All 146 Lines • ▼ Show 20 Lines | if ($futures) { | ||||
| } else { | } else { | ||||
| echo phutil_console_format( | echo phutil_console_format( | ||||
| "\n**SYNTAX ERROR!**\nFile: %s\nLine: %d\n\n%s\n", | "\n**SYNTAX ERROR!**\nFile: %s\nLine: %d\n\n%s\n", | ||||
| Filesystem::readablePath($result['file']), | Filesystem::readablePath($result['file']), | ||||
| $result['line'], | $result['line'], | ||||
| $result['error']); | $result['error']); | ||||
| exit(1); | exit(1); | ||||
| } | } | ||||
| $this->log("."); | $this->log('.'); | ||||
| } | } | ||||
| $this->log("\nDone.\n"); | $this->log("\nDone.\n"); | ||||
| } | } | ||||
| // We're done building the cache, so write it out immediately. Note that | // We're done building the cache, so write it out immediately. Note that | ||||
| // we've only retained entries for files we found, so this implicitly cleans | // we've only retained entries for files we found, so this implicitly cleans | ||||
| // out old cache entries. | // out old cache entries. | ||||
| ▲ Show 20 Lines • Show All 340 Lines • Show Last 20 Lines | |||||