-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwp-less-compile.php
43 lines (41 loc) · 1.4 KB
/
wp-less-compile.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/*
Plugin Name: Wp Less Compile
Plugin URI: http://github.com/ecedi/wp-less-compile
Description: Compile all Less files in Theme Stylesheet Directory
Version: 2.4
Author: Julien Zerbib, Sylvain Gogel <sgogel@ecedi.fr>
Author URI: http://www.ecedi.fr/
*/
/**
*
*
* Copyright 2014 Agence Ecedi (email : contact@ecedi.fr)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2, as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
* @package Wordpress-Plugins
* @subpackage wp-less-compile
* @copyright 2014 Agence Ecedi http://www.ecedi.fr
*
*/
/**
* The plugin requires leafo/lessphp from https://github.com/leafo/lessphp
* for conveniancy we embed it here
* @see https://github.com/leafo/lessphp
*/
require_once __DIR__.'/inc/LessPlugin.php';
require_once __DIR__.'/inc/lessc.inc.php';
$lessPlugin = new LessPlugin();
$lessPlugin->hookIn();