mirror of
https://github.com/iconify/iconify.git
synced 2024-11-16 17:45:09 +00:00
PHP script to locate build directory. See simple-svg-cdn package
This commit is contained in:
parent
6477b9779e
commit
b12ebb98d3
26
build/Scripts.php
Normal file
26
build/Scripts.php
Normal file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the simple-svg libraries.
|
||||
*
|
||||
* (c) Vjacheslav Trushkin <cyberalien@gmail.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the license.txt
|
||||
* file that was distributed with this source code.
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
namespace SimpleSVG\SimpleSVG;
|
||||
|
||||
class Scripts
|
||||
{
|
||||
/**
|
||||
* Return path to dist directory to create custom builds in PHP
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function dist()
|
||||
{
|
||||
return dirname(dirname(__FILE__)) . '/dist';
|
||||
}
|
||||
}
|
@ -4,5 +4,10 @@
|
||||
"author": "Vjacheslav Trushkin <cyberalien@gmail.com> (artodia.com)",
|
||||
"type": "library",
|
||||
"license": "MIT",
|
||||
"homepage": "https://simplesvg.com/"
|
||||
"homepage": "https://simplesvg.com/",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"SimpleSVG\\SimpleSVG\\": "build"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user