Don't distribute boot src files

[#179017951]
This commit is contained in:
Steve Gravrock
2021-09-03 15:40:41 -07:00
parent d61800c5c8
commit 6603ed7ddc
7 changed files with 7 additions and 5 deletions

View File

@@ -38,6 +38,7 @@ Once you've pushed a feature branch to your forked repo, you're ready to open a
* `/src` contains all of the source files * `/src` contains all of the source files
* `/src/core` - generic source files * `/src/core` - generic source files
* `/src/html` - browser-specific files * `/src/html` - browser-specific files
* `/src/boot` - sources for boot files (see below)
* `/spec` contains all of the tests * `/spec` contains all of the tests
* mirrors the source directory * mirrors the source directory
* there are some additional files * there are some additional files

View File

@@ -32,7 +32,7 @@ module.exports = {
src: [ "boot0.js", "boot1.js" ], src: [ "boot0.js", "boot1.js" ],
dest: standaloneLibDir, dest: standaloneLibDir,
expand: true, expand: true,
cwd: libJasmineCore("boot") cwd: libJasmineCore("")
}, },
{ {
src: [ "SpecRunner.html" ], src: [ "SpecRunner.html" ],

View File

@@ -38,15 +38,15 @@ module.exports = {
dest: 'lib/jasmine-core/jasmine.js' dest: 'lib/jasmine-core/jasmine.js'
}, },
boot0: { boot0: {
src: ['lib/jasmine-core/boot/boot0.js'], src: ['src/boot/boot0.js'],
dest: 'lib/jasmine-core/boot0.js' dest: 'lib/jasmine-core/boot0.js'
}, },
boot1: { boot1: {
src: ['lib/jasmine-core/boot/boot1.js'], src: ['src/boot/boot1.js'],
dest: 'lib/jasmine-core/boot1.js' dest: 'lib/jasmine-core/boot1.js'
}, },
nodeBoot: { nodeBoot: {
src: ['lib/jasmine-core/boot/node_boot.js'], src: ['src/boot/node_boot.js'],
dest: 'lib/jasmine-core/node_boot.js' dest: 'lib/jasmine-core/node_boot.js'
}, },
options: { options: {

View File

@@ -12,7 +12,8 @@ module.exports = {
'core/Suite.js', 'core/Suite.js',
'core/**/*.js', 'core/**/*.js',
'html/**/*.js', 'html/**/*.js',
'**/*.js' '**/*.js',
'!boot/**.js'
], ],
specDir: 'spec', specDir: 'spec',
specFiles: ['**/*[Ss]pec.js', '!npmPackage/**/*'], specFiles: ['**/*[Ss]pec.js', '!npmPackage/**/*'],