-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
preprocessor: move logic on removing targets to preprocessor
The logic to remove hugo/content and _public in _scripts/runPreprocessor.bash is too fragile. We have one exception rule already and in a later CL we would add another. This proves the logic does not belong here, and would actually be better placed (as coarse as it is) in the preprocessor itself. Make that change. Also turn of -x logging in _scripts/runPreprocessor.bash, and remove an old rm artefact from _scripts/build.bash. Note that we now fully rely on hugo removing _public, via the --cleanDestinationDir flag. This again seems like the right thing to do, rather than trying to code the logic (and timing) ourselves. Preprocessor-No-Write-Cache: true Signed-off-by: Paul Jolly <[email protected]> Change-Id: I602f422163192e97e5400c1326c2199ee2921c30 Dispatch-Trailer: {"type":"trybot","CL":1170170,"patchset":2,"ref":"refs/changes/70/1170170/2","targetBranch":"alpha"}
- Loading branch information
Showing
3 changed files
with
11 additions
and
18 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