1
0
Fork 0

Merge pull request #69 from EvanPurkhiser/feature/composer-support

Add Composer support, upgrade to latest Mustache
This commit is contained in:
Woody Gilk 2014-04-28 07:19:26 -05:00
commit fab3eb40f7
5 changed files with 25 additions and 10 deletions

1
.gitignore vendored
View File

@ -1 +0,0 @@
*.swp

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule "vendor/mustache"]
path = vendor/mustache
url = git://github.com/bobthecow/mustache.php.git

25
composer.json Normal file
View File

@ -0,0 +1,25 @@
{
"name": "zombor/kostache",
"description": "Logic-less View/Mustache Module for the Kohana Framework",
"keywords": ["kohana", "mustache", "templating", "view"],
"homepage": "https://github.com/zombor/KOstache",
"license": "MIT",
"authors": [
{
"name": "Jeremy Bush",
"email": "jeremy.bush@kohanaframework.org"
},
{
"name": "Woody Gilk",
"email": "woody.gilk@kohanaframework.org"
}
],
"support": {
"issues": "https://github.com/zombor/KOstache/issues",
"source": "https://github.com/zombor/KOstache"
},
"require": {
"mustache/mustache": "~2.6.0",
"php": ">=5.3.0"
}
}

View File

@ -1,5 +0,0 @@
<?php defined('SYSPATH') or die('No direct script access.');
// Load Mustache for PHP
include Kohana::find_file('vendor', 'mustache/src/Mustache/Autoloader');
Mustache_Autoloader::register();

1
vendor/mustache vendored

@ -1 +0,0 @@
Subproject commit d99be3444e5b2f0fb605941d7e692d3b5159360c