-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Build in a temporary directory #4968
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
Merged
cpcallen
merged 22 commits into
RaspberryPiFoundation:develop
from
cpcallen:build-elsewhere
Jul 9, 2021
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
b348e18
Don't use path.join to create globs for gulp.src
cpcallen 082fd1f
Move build and package directory config into new config.js
cpcallen 4111073
Write build output to built/ instead of repository root
cpcallen a03cd29
Separate script to rebuild msg/json/en.json, qqq.json etc.
cpcallen 25f073d
Build msg/js/*.js langfiles in BUILD_DIR
cpcallen e2c4a9b
Script to copy built files from BUILD_DIR to repository
cpcallen 961319b
Script to clean build directory
cpcallen e8eb30f
Script to clean release directory
cpcallen c521fa9
Fix release process
cpcallen daab45f
Fix eslint tests
cpcallen 96da5ed
Fix metadata tests
cpcallen 1aa35ef
Merge branch 'develop' into build-elsewhere
cpcallen 37ecce8
Have npm run typings use built directory; fix typescript tests
cpcallen 5410ba6
Do trivial gulp tasks in parallel where possible
cpcallen c265eb8
Update metadata sizes for Q2 2021 release
cpcallen e6929de
Also check in sourcemaps
cpcallen ec14cc3
Package build output; fix node tests.
cpcallen 311b2c1
Rename BUILD_DIR to "build" (was "built")
cpcallen 1e4fa80
Fix comment TODO formatting.
cpcallen 9e72378
Finish renaming BUILD_DIR; make tests more error-prone
cpcallen ffd0252
Merge branch 'develop' into build-elsewhere
cpcallen c45929d
Rename internal recompile function to rebuildAll
cpcallen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -17,4 +17,5 @@ local_build/*compiler*.jar | |
| local_build/local_*_compressed.js | ||
| chromedriver | ||
| typings/tmp/* | ||
| build/ | ||
| dist/ | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| /** | ||
| * @license | ||
| * Copyright 2021 Google LLC | ||
| * SPDX-License-Identifier: Apache-2.0 | ||
| */ | ||
|
|
||
| /** | ||
| * @fileoverview Common configuration for Gulp scripts. | ||
| */ | ||
|
|
||
| var path = require('path'); | ||
|
|
||
| // Paths are all relative to the repository root. Do not include | ||
| // trailing slash. | ||
| // | ||
| // TODO(#5007): If you modify these values, you must also modify the | ||
| // corresponding values in the following files: | ||
| // | ||
| // - tests/scripts/compile_typings.sh | ||
| // - tests/scripts/check_metadata.sh | ||
| module.exports = { | ||
| // Directory to write compiled output to. | ||
| BUILD_DIR: 'build', | ||
|
|
||
| // Directory in which to assemble (and from which to publish) the | ||
| // blockly npm package. | ||
| RELEASE_DIR: 'dist', | ||
| }; |
This file contains hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.