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=.travis.yml --exclude=composer.lock --exclude=.styleci.yml \
--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 \
&& mv /out/app.tar.xz /out/opensem-prod.tar.xz

View File

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