2
0
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:
cyberalien 2017-03-14 12:23:13 +02:00
parent 6477b9779e
commit b12ebb98d3
2 changed files with 32 additions and 1 deletions

26
build/Scripts.php Normal file
View 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';
}
}

View File

@ -4,5 +4,10 @@
"author": "Vjacheslav Trushkin <cyberalien@gmail.com> (artodia.com)", "author": "Vjacheslav Trushkin <cyberalien@gmail.com> (artodia.com)",
"type": "library", "type": "library",
"license": "MIT", "license": "MIT",
"homepage": "https://simplesvg.com/" "homepage": "https://simplesvg.com/",
"autoload": {
"psr-4": {
"SimpleSVG\\SimpleSVG\\": "build"
}
}
} }