[TASK] Introduce GruntJS
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / 7.1 / Feature-65960-IntroduceGruntJS.rst
1 ===================================
2 Feature: #63729 - Introduce GruntJS
3 ===================================
4
5 Description
6 ===========
7
8 In order to unify build processes in the backend we introduce
9 `GruntJS <http://gruntjs.com/>`_ as a central taskrunner. It will
10 provide a global config that takes over the responsibility
11 for all build processes in the future starting with the less
12 files of the backend skin.
13
14 The build files are located in the *Build* folder located in the root directory.
15
16 For detailed informations about setting up GruntJS please head to http://gruntjs.com/.
17
18
19 Initial setup
20 ~~~~~~~~~~~~~
21
22 .. code-block:: bash
23
24 npm install
25 npm install -g grunt-cli
26
27
28 Registered Tasks
29 ~~~~~~~~~~~~~~~~
30
31 Compiling Less files:
32
33 .. code-block:: bash
34
35 grunt less
36
37
38 Watching Less files:
39
40 .. code-block:: bash
41
42 grunt watch