Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add information about building (#277)
* Add information about building - Add information about location of SCSS and TypeScript files - Add information about building - Add information about linting Resolves: #159 * Add changes to Build page
- Loading branch information
Showing
3 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
. include:: /Includes.rst.txt | ||
|
||
.. highlight:: bash | ||
|
||
.. index:: | ||
single: Code Contribution Workflow; Build | ||
single: Build | ||
single: SCSS | ||
single: TypeScript | ||
.. _build: | ||
|
||
=============== | ||
Building assets | ||
=============== | ||
|
||
This page explains building assets like JavaScript and CSS files. | ||
|
||
For the most part, the TypeScript, JavaScript and SCSS sources are contained in | ||
:file:`Build/Sources`. These are compiled to target files, usually located in: | ||
|
||
* CSS: :file:`typo3/sysext/*/Resources/Public/Css` | ||
* JavaScript: :file:`typo3/sysext/*/Resources/Public/JavaScript` | ||
|
||
If you make changes to the source files, you can build locally using | ||
:ref:`runTests.sh <runTests_sh>`: | ||
|
||
.. code-block:: bash | ||
Build/Scripts/runTests.sh -s buildCss | ||
Build/Scripts/runTests.sh -s buildJavascript | ||
It is also possible to lint the files locally: | ||
|
||
.. code-block:: bash | ||
Build/Scripts/runTests.sh -s lintScss | ||
Build/Scripts/runTests.sh -s lintTypescript |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters