fix: move `build directory to resources/shop`

This commit is contained in:
Valentin Lab
2025-10-04 10:00:24 +02:00
parent 34fc1c33bf
commit 7a189abf0b
93 changed files with 26 additions and 25 deletions

View File

@@ -93,7 +93,8 @@ RUN mkdir -p /out \
--exclude=.editorconfig --exclude=phpunit.xml \ --exclude=.editorconfig --exclude=phpunit.xml \
--exclude=.travis.yml --exclude=composer.lock --exclude=.styleci.yml \ --exclude=.travis.yml --exclude=composer.lock --exclude=.styleci.yml \
--exclude=Makefile --exclude=.gitkeep --exclude=test \ --exclude=Makefile --exclude=.gitkeep --exclude=test \
artisan app build config database vendor public resources routes stubs bootstrap storage composer.json \ --exclude=resources/shop \
artisan app config database vendor public resources routes stubs bootstrap storage composer.json \
&& xz -T0 -9e /out/app.tar \ && xz -T0 -9e /out/app.tar \
&& mv /out/app.tar.xz /out/opensem-prod.tar.xz && mv /out/app.tar.xz /out/opensem-prod.tar.xz

View File

@@ -19,8 +19,8 @@ var jsSite = [
jsBootstrap, jsBootstrap,
'node_modules/jquery-serializejson/jquery.serializejson.min.js', 'node_modules/jquery-serializejson/jquery.serializejson.min.js',
'node_modules/currency.js/dist/currency.min.js', 'node_modules/currency.js/dist/currency.min.js',
'build/js/plugins/smooth_products/js/smoothproducts.min.js', 'resources/shop/js/plugins/smooth_products/js/smoothproducts.min.js',
'build/js/site.js', 'resources/shop/js/site.js',
] ]
var cssSite = [ var cssSite = [
@@ -28,8 +28,8 @@ var cssSite = [
'node_modules/@fortawesome/fontawesome-free/css/all.min.css', 'node_modules/@fortawesome/fontawesome-free/css/all.min.css',
'node_modules/animate.css/animate.min.css', 'node_modules/animate.css/animate.min.css',
'node_modules/icheck-bootstrap/icheck-bootstrap.min.css', 'node_modules/icheck-bootstrap/icheck-bootstrap.min.css',
'build/js/plugins/smooth_products/css/smoothproducts.css', 'resources/shop/js/plugins/smooth_products/css/smoothproducts.css',
'build/css/site.css', 'resources/shop/css/site.css',
] ]
var jsAdminLTE = [ var jsAdminLTE = [
@@ -41,15 +41,15 @@ var jsAdminLTE = [
] ]
var jsCoreInclude = [ var jsCoreInclude = [
'build/js/include/core/objectLength.js', 'resources/shop/js/include/core/objectLength.js',
'build/js/include/core/url.js', 'resources/shop/js/include/core/url.js',
'build/js/include/core/user.js', 'resources/shop/js/include/core/user.js',
'build/js/include/form/radio.js', 'resources/shop/js/include/form/radio.js',
'build/js/include/form/upload.js', 'resources/shop/js/include/form/upload.js',
'build/js/include/form/validator.js', 'resources/shop/js/include/form/validator.js',
'build/js/include/layout/animate.js', 'resources/shop/js/include/layout/animate.js',
'build/js/include/layout/scroll.js', 'resources/shop/js/include/layout/scroll.js',
'build/js/include/layout/tooltip.js', 'resources/shop/js/include/layout/tooltip.js',
] ]
var jsBundle = [ var jsBundle = [
@@ -84,7 +84,7 @@ var jsMain = [
var cssPrint = [ var cssPrint = [
// 'node_modules/bootstrap/dist/css/bootstrap.min.css', // 'node_modules/bootstrap/dist/css/bootstrap.min.css',
'cssIcons', 'cssIcons',
'build/print.css' 'resources/shop/print.css'
] ]
var cssBundle = [ var cssBundle = [
@@ -109,7 +109,7 @@ var cssIcons = [
var cssMain = [ var cssMain = [
cssBundle, cssBundle,
cssIcons, cssIcons,
'build/css/main.css', 'resources/shop/css/main.css',
] ]
var jsDataTables = [ var jsDataTables = [
@@ -251,31 +251,31 @@ module.exports = function(grunt) {
}, },
{ {
expand: true, expand: true,
cwd: 'build/fonts', cwd: 'resources/shop/fonts',
src: ['**'], src: ['**'],
dest: 'public/fonts/' dest: 'public/fonts/'
}, },
{ {
expand: true, expand: true,
cwd: 'build/img', cwd: 'resources/shop/img',
src: ['**'], src: ['**'],
dest: 'public/img/' dest: 'public/img/'
}, },
{ {
expand: true, expand: true,
cwd: 'build/lang', cwd: 'resources/shop/lang',
src: ['**'], src: ['**'],
dest: 'public/assets/lang/' dest: 'public/assets/lang/'
}, },
{ {
expand: true, expand: true,
cwd: 'build/plugins', cwd: 'resources/shop/plugins',
src: ['**'], src: ['**'],
dest: 'public/assets/plugins/' dest: 'public/assets/plugins/'
}, },
{ {
expand: true, expand: true,
cwd: 'build/assets/tpl', cwd: 'resources/shop/assets/tpl',
src: ['**'], src: ['**'],
dest: 'public/assets/tpl/' dest: 'public/assets/tpl/'
}, },
@@ -395,7 +395,7 @@ module.exports = function(grunt) {
}, },
{ {
expand: true, expand: true,
cwd: 'build/plugins/pdfjs/', cwd: 'resources/shop/plugins/pdfjs/',
src: ['**'], src: ['**'],
dest: 'public/assets/plugins/pdfjs', dest: 'public/assets/plugins/pdfjs',
}, },
@@ -461,7 +461,7 @@ module.exports = function(grunt) {
}, },
{ {
expand: true, expand: true,
cwd: 'build/js/include/plugins/datatables_lang/', cwd: 'resources/shop/js/include/plugins/datatables_lang/',
src: ['*.json'], src: ['*.json'],
dest: 'public/assets/plugins/datatables_lang', dest: 'public/assets/plugins/datatables_lang',
}, },
@@ -539,7 +539,7 @@ module.exports = function(grunt) {
}, },
{ {
expand: true, expand: true,
cwd: 'build/js/include/', cwd: 'resources/shop/js/include/',
src: ['boilerplate.js'], src: ['boilerplate.js'],
dest: 'public/assets/plugins', dest: 'public/assets/plugins',
}, },
@@ -548,7 +548,7 @@ module.exports = function(grunt) {
}, },
watch: { watch: {
dist: { dist: {
files: ['build/js/*', 'build/css/*'], files: ['resources/shop/js/*', 'resources/shop/css/*'],
// tasks: ['concat', 'copy'] // tasks: ['concat', 'copy']
tasks: ['concat'] tasks: ['concat']
} }

View File

View File

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 71 KiB

View File

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 82 KiB

View File

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 69 KiB

View File

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 75 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

View File

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

View File

View File

0
resources/shop/print.css Normal file
View File