Skip to content

Commit c11308e

Browse files
Notice html distribution (#633)
1 parent 7f70a8c commit c11308e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

NOTICE.html

Whitespace-only changes.

Package/gulpfile.js

+5
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ const buildUWP = gulp.series(makeUWPProject, buildUWPProject);
204204

205205
const copyCommonFiles = () => {
206206
return gulp.src('../Modules/@babylonjs/react-native/README.md')
207+
.pipe(gulp.src('../NOTICE.html'))
207208
.pipe(gulp.dest('Assembled'));
208209
};
209210

@@ -217,6 +218,7 @@ const copySharedFiles = () => {
217218
const copyIOSAndroidCommonFiles = () => {
218219
return gulp.src('../Modules/@babylonjs/react-native-iosandroid/package.json')
219220
.pipe(gulp.src('../Modules/@babylonjs/react-native-iosandroid/README.md'))
221+
.pipe(gulp.src('../NOTICE.html'))
220222
.pipe(gulp.src(`${basekitPackagePath}react-native-babylon.podspec`))
221223
.pipe(gulp.dest(`${assemblediOSAndroidDir}/`));
222224
};
@@ -304,6 +306,7 @@ const createUWPDirectories = async () => {
304306
const copyCommonFilesUWP = () => {
305307
return gulp.src('../Modules/@babylonjs/react-native-windows/package.json')
306308
.pipe(gulp.src('../Modules/@babylonjs/react-native-windows/README.md'))
309+
.pipe(gulp.src('../NOTICE.html'))
307310
.pipe(gulp.src('../Modules/@babylonjs/react-native-windows/*.ts*'))
308311
.pipe(gulp.dest(`${assembledWindowsDir}`));
309312
}
@@ -448,6 +451,7 @@ const validateAssembled = async () => {
448451
'Assembled/ReactNativeEngine.js',
449452
'Assembled/ReactNativeEngine.js.map',
450453
'Assembled/README.md',
454+
'Assembled/NOTICE.html',
451455
'Assembled/shared',
452456
'Assembled/shared/BabylonNative.h',
453457
'Assembled/shared/XrAnchorHelper.h',
@@ -541,6 +545,7 @@ const validateAssemblediOSAndroid = async () => {
541545
`${assemblediOSAndroidDir}/package.json`,
542546
`${assemblediOSAndroidDir}/react-native-babylon.podspec`,
543547
`${assemblediOSAndroidDir}/README.md`,
548+
`${assemblediOSAndroidDir}/NOTICE.html`,
544549
];
545550

546551
const versionIndex = process.argv.indexOf('--reactNative');

0 commit comments

Comments
 (0)