Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 1... Línea 1...
1
PHP CSS Parser
1
PHP CSS Parser
2
--------------
2
--------------
Línea 3... Línea 3...
3
 
3
 
-
 
4
Import procedure:
-
 
5
```
-
 
6
tempdir=`mktemp -d`
4
Import procedure:
7
cd $tempdir
-
 
8
composer require sabberworm/php-css-parser
5
1. Download the latest release from https://github.com/sabberworm/PHP-CSS-Parser/releases
9
cd -
-
 
10
cp lib/php-css-parser/readme_moodle* $tempdir
6
2. Copy all the files from the folder 'lib/Sabberworm/CSS/' in this directory.
11
rm -rf lib/php-css-parser
7
3. Apply the following patches from the following pull requests if they have not yet been merged upstream:
12
cp -rf $tempdir/vendor/sabberworm/php-css-parser lib/php-css-parser
-
 
13
cp -rf $tempdir/readme* lib/php-css-parser
-
 
14
```
-
 
15
 
8
   a. https://github.com/sabberworm/PHP-CSS-Parser/pull/115
16
Apply the following patches: