Skip to content
This repository has been archived by the owner on Dec 27, 2017. It is now read-only.

Commit

Permalink
Merge branch 'release/1.0.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlins committed Jun 3, 2014
2 parents 89a4459 + 7292aa3 commit b7a342d
Show file tree
Hide file tree
Showing 6 changed files with 996 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/vendor/
/composer.phar
/faker.phar
5 changes: 5 additions & 0 deletions bin/faker.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@

class FakerApplication extends \Symfony\Component\Console\Application
{
public function __construct()
{
parent::__construct('Faker Command Line Tool', '@package_version@');
}

protected function getCommandName(\Symfony\Component\Console\Input\InputInterface $input)
{
return 'faker:generate';
Expand Down
10 changes: 10 additions & 0 deletions box.json.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"banner": "Faker Command Line Tool",
"alias": "faker.phar",
"output": "faker.phar",
"main": "bin/faker.php",
"stub": true,
"chmod": "0755",
"git-version": "package_version",
"directories": ["src", "vendor"]
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bit3/faker-cli",
"type": "library",
"type": "project",
"description": "A command line command for the Faker PHP library.",
"keywords": ["faker", "fixtures", "data", "cli"],
"license": "MIT",
Expand Down
Loading

0 comments on commit b7a342d

Please sign in to comment.