mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Switch from "Runtime-Bundled" to "Runtime-dist" as dist is more commonly used
Don't show in changelog
This commit is contained in:
2
GDJS/.gitignore
vendored
2
GDJS/.gitignore
vendored
@@ -7,4 +7,4 @@ Runtime documentation
|
||||
*.~
|
||||
*.js~
|
||||
*.sh~
|
||||
/Runtime-bundled
|
||||
/Runtime-dist
|
||||
|
@@ -7,7 +7,7 @@ const gdjsRootPath = path.join(__dirname, '..', '..');
|
||||
|
||||
const extensionsRuntimePath = path.join(gdevelopRootPath, 'Extensions');
|
||||
const gdjsRuntimePath = path.join(gdjsRootPath, 'Runtime');
|
||||
const bundledOutPath = path.join(gdjsRootPath, 'Runtime-bundled');
|
||||
const bundledOutPath = path.join(gdjsRootPath, 'Runtime-dist');
|
||||
|
||||
// The extensions to be included in the bundled Runtime (will be built with esbuild or copied).
|
||||
const allowedExtensions = ['.js', '.ts', '.html', '.json', '.xml'];
|
||||
|
@@ -6,56 +6,56 @@ module.exports = function(config) {
|
||||
'node_modules/expect.js/index.js',
|
||||
|
||||
//GDJS game engine files: (Order is important)
|
||||
'../Runtime-bundled/libs/jshashtable.js',
|
||||
'../Runtime-bundled/gd.js',
|
||||
'../Runtime-bundled/libs/hshg.js',
|
||||
'../Runtime-bundled/libs/rbush.js',
|
||||
'../Runtime-bundled/cocos-renderers/cocos-director-manager.js',
|
||||
'../Runtime-bundled/pixi-renderers/pixi.js',
|
||||
'../Runtime-bundled/pixi-renderers/*.js',
|
||||
'../Runtime-bundled/howler-sound-manager/howler.min.js',
|
||||
'../Runtime-bundled/howler-sound-manager/howler-sound-manager.js',
|
||||
'../Runtime-bundled/fontfaceobserver-font-manager/fontfaceobserver.js',
|
||||
'../Runtime-bundled/fontfaceobserver-font-manager/fontfaceobserver-font-manager.js',
|
||||
'../Runtime-bundled/jsonmanager.js',
|
||||
'../Runtime-bundled/timemanager.js',
|
||||
'../Runtime-bundled/runtimeobject.js',
|
||||
'../Runtime-bundled/runtimescene.js',
|
||||
'../Runtime-bundled/scenestack.js',
|
||||
'../Runtime-bundled/profiler.js',
|
||||
'../Runtime-bundled/polygon.js',
|
||||
'../Runtime-bundled/force.js',
|
||||
'../Runtime-bundled/layer.js',
|
||||
'../Runtime-bundled/timer.js',
|
||||
'../Runtime-bundled/inputmanager.js',
|
||||
'../Runtime-bundled/runtimegame.js',
|
||||
'../Runtime-bundled/variable.js',
|
||||
'../Runtime-bundled/variablescontainer.js',
|
||||
'../Runtime-bundled/oncetriggers.js',
|
||||
'../Runtime-bundled/runtimebehavior.js',
|
||||
'../Runtime-bundled/spriteruntimeobject.js',
|
||||
'../Runtime-bundled/events-tools/commontools.js',
|
||||
'../Runtime-bundled/events-tools/runtimescenetools.js',
|
||||
'../Runtime-bundled/events-tools/inputtools.js',
|
||||
'../Runtime-bundled/events-tools/networktools.js',
|
||||
'../Runtime-bundled/events-tools/objecttools.js',
|
||||
'../Runtime-bundled/events-tools/cameratools.js',
|
||||
'../Runtime-bundled/events-tools/soundtools.js',
|
||||
'../Runtime-bundled/events-tools/storagetools.js',
|
||||
'../Runtime-bundled/events-tools/stringtools.js',
|
||||
'../Runtime-bundled/events-tools/windowtools.js',
|
||||
'../Runtime-bundled/websocket-debugger-client/hot-reloader.js',
|
||||
'../Runtime-dist/libs/jshashtable.js',
|
||||
'../Runtime-dist/gd.js',
|
||||
'../Runtime-dist/libs/hshg.js',
|
||||
'../Runtime-dist/libs/rbush.js',
|
||||
'../Runtime-dist/cocos-renderers/cocos-director-manager.js',
|
||||
'../Runtime-dist/pixi-renderers/pixi.js',
|
||||
'../Runtime-dist/pixi-renderers/*.js',
|
||||
'../Runtime-dist/howler-sound-manager/howler.min.js',
|
||||
'../Runtime-dist/howler-sound-manager/howler-sound-manager.js',
|
||||
'../Runtime-dist/fontfaceobserver-font-manager/fontfaceobserver.js',
|
||||
'../Runtime-dist/fontfaceobserver-font-manager/fontfaceobserver-font-manager.js',
|
||||
'../Runtime-dist/jsonmanager.js',
|
||||
'../Runtime-dist/timemanager.js',
|
||||
'../Runtime-dist/runtimeobject.js',
|
||||
'../Runtime-dist/runtimescene.js',
|
||||
'../Runtime-dist/scenestack.js',
|
||||
'../Runtime-dist/profiler.js',
|
||||
'../Runtime-dist/polygon.js',
|
||||
'../Runtime-dist/force.js',
|
||||
'../Runtime-dist/layer.js',
|
||||
'../Runtime-dist/timer.js',
|
||||
'../Runtime-dist/inputmanager.js',
|
||||
'../Runtime-dist/runtimegame.js',
|
||||
'../Runtime-dist/variable.js',
|
||||
'../Runtime-dist/variablescontainer.js',
|
||||
'../Runtime-dist/oncetriggers.js',
|
||||
'../Runtime-dist/runtimebehavior.js',
|
||||
'../Runtime-dist/spriteruntimeobject.js',
|
||||
'../Runtime-dist/events-tools/commontools.js',
|
||||
'../Runtime-dist/events-tools/runtimescenetools.js',
|
||||
'../Runtime-dist/events-tools/inputtools.js',
|
||||
'../Runtime-dist/events-tools/networktools.js',
|
||||
'../Runtime-dist/events-tools/objecttools.js',
|
||||
'../Runtime-dist/events-tools/cameratools.js',
|
||||
'../Runtime-dist/events-tools/soundtools.js',
|
||||
'../Runtime-dist/events-tools/storagetools.js',
|
||||
'../Runtime-dist/events-tools/stringtools.js',
|
||||
'../Runtime-dist/events-tools/windowtools.js',
|
||||
'../Runtime-dist/websocket-debugger-client/hot-reloader.js',
|
||||
|
||||
//Extensions:
|
||||
'../Runtime-bundled/Extensions/DraggableBehavior/draggableruntimebehavior.js',
|
||||
'../Runtime-bundled/Extensions/PlatformBehavior/platformerobjectruntimebehavior.js',
|
||||
'../Runtime-bundled/Extensions/PlatformBehavior/platformruntimebehavior.js',
|
||||
'../Runtime-bundled/Extensions/LinkedObjects/linkedobjects.js',
|
||||
'../Runtime-bundled/Extensions/Inventory/inventory.js',
|
||||
'../Runtime-bundled/Extensions/Inventory/inventorytools.js',
|
||||
'../Runtime-bundled/Extensions/Lighting/lightruntimeobject.js',
|
||||
'../Runtime-bundled/Extensions/Lighting/lightruntimeobject-pixi-renderer.js',
|
||||
'../Runtime-bundled/Extensions/Lighting/lightobstacleruntimebehavior.js',
|
||||
'../Runtime-dist/Extensions/DraggableBehavior/draggableruntimebehavior.js',
|
||||
'../Runtime-dist/Extensions/PlatformBehavior/platformerobjectruntimebehavior.js',
|
||||
'../Runtime-dist/Extensions/PlatformBehavior/platformruntimebehavior.js',
|
||||
'../Runtime-dist/Extensions/LinkedObjects/linkedobjects.js',
|
||||
'../Runtime-dist/Extensions/Inventory/inventory.js',
|
||||
'../Runtime-dist/Extensions/Inventory/inventorytools.js',
|
||||
'../Runtime-dist/Extensions/Lighting/lightruntimeobject.js',
|
||||
'../Runtime-dist/Extensions/Lighting/lightruntimeobject-pixi-renderer.js',
|
||||
'../Runtime-dist/Extensions/Lighting/lightobstacleruntimebehavior.js',
|
||||
|
||||
// Test extensions:
|
||||
'./tests/Extensions/**.js',
|
||||
|
@@ -43,7 +43,7 @@ destinationPaths.forEach(destinationPath => {
|
||||
return Promise.all([
|
||||
// Copy the built files
|
||||
copy(
|
||||
path.join(gdevelopRootPath, 'GDJS', 'Runtime-bundled'),
|
||||
path.join(gdevelopRootPath, 'GDJS', 'Runtime-dist'),
|
||||
path.join(destinationPath, 'Runtime'),
|
||||
copyOptions
|
||||
),
|
||||
|
Reference in New Issue
Block a user