mirror of
https://github.com/google/blockly.git
synced 2026-01-04 23:50:12 +01:00
I had forgotten that I needed to change the value of BUILD_DIR in several different places. Added comments warning future editors about this as well as filing issue #5007 to track fixing this properly. Despite being misconfigured and therefore failing, the typescript and metadata test scripts were exiting with status 0, indicating successful completion. These have been fixed so they should fail on any error, including misconfiguration.
29 lines
673 B
JavaScript
29 lines
673 B
JavaScript
/**
|
|
* @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',
|
|
};
|