Skip to content

Commit

Permalink
Merging master
Browse files Browse the repository at this point in the history
  • Loading branch information
markusweigelt committed Aug 12, 2024
2 parents aad6c51 + 84a6894 commit 21232c9
Show file tree
Hide file tree
Showing 38 changed files with 1,848 additions and 2,379 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-grunt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ jobs:
if [ -n "$(git status --porcelain -- ./Resources/Public/)" ]; then
echo "Changes detected in compiled files"
exit 1
else
else
echo "No changes detected in compiled files"
fi
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.idea/
.vscode/
public/
vendor/
.DS_Store
node_modules
*.css.map
Documentation-GENERATED-temp/
public/
vendor/
composer.lock
21 changes: 10 additions & 11 deletions Build/Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

module.exports = function (grunt) {
module.exports = function(grunt) {
require('jit-grunt')(grunt);

grunt.initConfig({
Expand All @@ -12,26 +12,25 @@ module.exports = function (grunt) {
optimization: 2
},
files: {
"Resources/Public/Css/allStyles.css": "Resources/Private/Less/all.less",
"Resources/Public/Css/webStyles.css": "Resources/Private/Less/website.less",
"Resources/Public/Css/rte.css": "Resources/Private/Less/rte.less",
"Resources/Public/Css/allStyles.css" : "Resources/Private/Less/all.less",
"Resources/Public/Css/webStyles.css" : "Resources/Private/Less/website.less",
"Resources/Public/Css/rte.css" : "Resources/Private/Less/rte.less",
}
}
},
terser: {
options: {
compress: true,
mangle: true,
},
development: {
options: {
compress: false,
},
files: {
"Resources/Public/JavaScript/allScripts.js": [
"Resources/Public/JavaScript/allScripts.js" : [
'Resources/Private/JavaScript/modernizrCustom.js',
'Resources/Private/JavaScript/js.cookie.js',
'Resources/Private/JavaScript/dfgviewerSru.js',
'Resources/Private/JavaScript/dfgviewerScripts.js',
],
"Resources/Public/JavaScript/webScripts.js": [
"Resources/Public/JavaScript/webScripts.js" : [
'Resources/Private/JavaScript/modernizrCustom.js',
'Resources/Public/JavaScript/Highlight/highlight.pack.js',
'Resources/Private/JavaScript/websiteScripts.js',
Expand All @@ -58,5 +57,5 @@ module.exports = function (grunt) {
});

grunt.file.setBase('../')
grunt.registerTask('default', ['less', 'terser', 'watch']);
grunt.registerTask('default', ['less','terser','watch']);
};
Loading

0 comments on commit 21232c9

Please sign in to comment.