Commit 2d2581b5 authored by Ate Douma's avatar Ate Douma

TRIVIAL cleanup master

parent 6193e047

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

*.iml
*.log
*.tmp
/.idea/
.classpath
.project
.settings
.DS_Store
node_modules/
target/
/api/repository/
/api/version/
/api/workspaces/
/automatic-export/repository/repository/
/automatic-export/repository/version/
/automatic-export/repository/workspaces/
/editor/repository/workspaces/
/richtext/frontend/repository/
/richtext/frontend/version/
/richtext/frontend/workspaces/
/test/repository/
/test/version/
/test/workspaces/
/workflow/frontend/repository/
/workflow/frontend/version/
/workflow/frontend/workspaces/
This diff is collapsed.
Hippo CMS
Copyright 2007-2018 Hippo B.V. (http://www.onehippo.com)
This product includes software developed by:
Hippo B.V., Amsterdam, The Netherlands (http://www.onehippo.com/);
The Apache Software Foundation (http://www.apache.org/).
NOTICE: Only our own original work is licensed under the terms of the
Apache License Version 2.0. The licenses of some libraries might impose
different redistribution or general licensing terms than those stated in the
Apache License. Users and redistributors are hereby requested to verify these
conditions and agree upon them.
# Build
Build with testing:
# This is not the branch you're looking for...
$ mvn clean install
BloomReach only provides the git trees for the release tags of Hippo CMS, as explained on https://www.onehippo.org/about/open-source-release-policy.html
Build without testing:
To checkout the code for a specific release tag, after cloning this repository, use the following:
$ mvn clean install -DskipTests
## to show the available tags
Build with snapshot dependencies:
git tag
$ mvn clean install -Dhippo.snapshots=true
## to checkout a specific tag
Note: only needed when the project refers to SNAPSHOT dependencies!
git checkout <tag name>
Note: only effective when your Maven settings.xml file contains a profile
with this property for the Hippo snapshot repository. For details, see
http://www.onehippo.org/library/development/build-hippo-cms-from-scratch.html
## to modify a project
If you want to make modifications to a project, for example to create a patch, create a new fork branch from the specific tag like this:
# Front-end Installation and Building
* Run these commands from either the api or the console/frontend module
git checkout -b forked-<tag name> <tag name>
Install project dependencies
$ npm install
Build front-end code
$ npm run build
# Developing the front-end code (api module only)
After building the front-end code:
$ npm start
This will handle the following cases:
* If a change in a LESS file is detected it will recompile all LESS files, copy the theme to the CLASSPATH and (if
enabled) live-reload your browser.
* If a change in an image is detected it will re-create the SVG sprite and copy all images and icons to the CLASSPATH.
You need to start the CMS in Wicket Development Mode so it picks up front-end changes.
Run the CMS with Wicket development mode args:
$ mvn -P cargo.run -Djrebel -Drepo.path=repo -Dcargo.jvm.args='-Dwicket.configuration=development'
# Live reload browser plugins
You need a browser extension to use live reload.
Safari:
http://download.livereload.com/2.1.0/LiveReload-2.1.0.safariextz
Chrome:
https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei
Firefox:
http://download.livereload.com/2.1.0/LiveReload-2.1.0.xpi
For the latter, also see the **Build from Source** documentation at https://www.onehippo.org/library/development/build-hippo-cms-from-scratch.html
\ No newline at end of file
{
"bulletproof-font-face": 2,
"display-property-grouping": 2,
"empty-rules": 2,
"errors": 2,
"gradients": 2,
"import": 2,
"overqualified-elements": 2,
"rules-count": 2,
"selector-max": 2,
"selector-max-approaching": 2,
"star-property-hack": 2,
"text-indent": 2,
"underscore-property-hack": 2,
"vendor-prefix": 2,
"zero-units": 2,
"adjoining-classes": false,
"box-model": false,
"box-sizing": false,
"compatible-vendor-prefixes": false,
"duplicate-background-images": false,
"duplicate-properties": false,
"fallback-colors": false,
"floats": false,
"font-faces": false,
"font-sizes": false,
"ids": false,
"important": false,
"known-properties": false,
"outline-none": false,
"qualified-headings": false,
"regex-selectors": false,
"shorthand": false,
"unique-headings": false,
"universal-selector": false,
"unqualified-attributes": false
}
engine-strict=true
registry=https://maven.onehippo.com/npm-all/
/*
* Copyright 2014-2017 Hippo B.V. (http://www.onehippo.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
'use strict';
var fs = require('fs');
module.exports = function (grunt) {
// load all grunt tasks automatically
require('load-grunt-tasks')(grunt);
// display execution time of each task
require('time-grunt')(grunt);
var buildConfig = require('./build.config.js');
grunt.initConfig({
build: buildConfig,
// Watch for file changes and run corresponding tasks
watch: {
options: {
livereload: true,
interrupt: false,
livereloadOnError: false
},
gruntfile: {
files: ['Gruntfile.js']
},
sass: {
options: {
livereload: false
},
files: ['<%= build.src %>/**/*.scss'],
tasks: ['sass', 'autoprefixer', 'csslint', 'concat:css', 'clean:tmp']
},
reloadCompiledCss: {
files: ['<%= build.skin %>/**/*.css']
},
extjsSass: {
options: {
livereload: false
},
files: ['<%= build.extjs.src %>'],
tasks: ['sass:extjs']
},
reloadCompiledExtJsCss: {
files: ['<%= build.extjs.target %>']
},
images: {
files: ['<%= build.src %>/images/**'],
tasks: ['newer:copy:binaries', 'svgmin:theme']
},
svg: {
files: ['<%= build.svgsprite %>'],
tasks: ['newer:svgstore']
},
},
// Compile Sass to CSS.