Skip to content

Instantly share code, notes, and snippets.

@fgrehm
Created January 23, 2013 13:06
Show Gist options
  • Save fgrehm/8f7c995b344a339dc250 to your computer and use it in GitHub Desktop.
Save fgrehm/8f7c995b344a339dc250 to your computer and use it in GitHub Desktop.
phrozn composer.json
{
"name": "farazdagi/phrozn",
"description": "Static Site Generator for PHP",
"repositories": [
{
"type": "pear",
"url": "http://pear.php.net/"
},
{
"type": "composer",
"url": "http://packages.zendframework.com/"
},
{
"type": "package",
"package": {
"name": "pear/Pear_Exception",
"version": "dev-master",
"dist": {
"url": "https://github.com/pear/PEAR_Exception/archive/master.zip",
"type": "zip"
}
}
}
],
"require": {
"twig/twig": "1.*",
"symfony/yaml": "2.*",
"pear-pear/Console_CommandLine": "*",
"pear-pear/Archive_Tar": "*",
"pear/Console_Color2": "*",
"pear/Console_Table": "@dev"
},
"autoload": {
"psr-0": {
"Phrozn": "" ,
"PhroznPlugin": "plugins/",
"pear/Pear_Exception": "dev-master"
}
},
"scripts": {
"post-install-cmd": [
"rm -f configs/commands/initialize.yml",
"rm -f configs/commands/build.yml",
"rm -f configs/commands/update.yml",
"ln -s init.yml configs/commands/initialize.yml",
"ln -s up.yml configs/commands/build.yml",
"ln -s up.yml configs/commands/update.yml",
"rm -f bin/phr.php",
"ln -s phrozn.php bin/phr.php",
"chmod +x bin/phrozn.php"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment