Skip to content

Commit e555158

Browse files
Dmitry Kasatkindimasites
authored andcommitted
Fix build scripts paths
1 parent 0e4b7a5 commit e555158

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

_build/build.model.php renamed to _build/minishop2/build.model.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
}
66

77
// Define sources
8-
$root = dirname(__FILE__, 2) . '/';
8+
$root = dirname(__FILE__, 3) . '/';
99
$sources = [
1010
'root' => $root,
11-
'build' => $root . '_build/',
11+
'build' => $root . '_build/' . PKG_NAME_LOWER . '/',
1212
'source_core' => $root . 'core/components/' . PKG_NAME_LOWER,
1313
'model' => $root . 'core/components/' . PKG_NAME_LOWER . '/model/',
1414
'schema' => $root . 'core/components/' . PKG_NAME_LOWER . '/model/schema/',

_build/build.transport.php renamed to _build/minishop2/build.transport.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@
1515
}
1616

1717
// Define sources
18-
$root = dirname(__FILE__, 2) . '/';
18+
$root = dirname(__FILE__, 3) . '/';
19+
1920
$sources = [
2021
'root' => $root,
21-
'build' => $root . '_build/',
22-
'data' => $root . '_build/data/',
23-
'resolvers' => $root . '_build/resolvers/',
22+
'build' => $root . '_build/' . PKG_NAME_LOWER . '/',
23+
'data' => $root . '_build/' . PKG_NAME_LOWER . '/data/',
24+
'resolvers' => $root . '_build/' . PKG_NAME_LOWER . '/resolvers/',
2425
'chunks' => $root . 'core/components/' . PKG_NAME_LOWER . '/elements/chunks/',
2526
'snippets' => $root . 'core/components/' . PKG_NAME_LOWER . '/elements/snippets/',
2627
'plugins' => $root . 'core/components/' . PKG_NAME_LOWER . '/elements/plugins/',
@@ -308,3 +309,4 @@
308309
if (!empty($_GET['download'])) {
309310
echo '<script>document.location.href = "/core/packages/' . $signature . '.transport.zip' . '";</script>';
310311
}
312+

0 commit comments

Comments
 (0)