Skip to content

Commit

Permalink
Init.
Browse files Browse the repository at this point in the history
  • Loading branch information
boite committed Jun 10, 2016
0 parents commit 4498e3f
Show file tree
Hide file tree
Showing 7 changed files with 129 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .gitignore
@@ -0,0 +1,34 @@
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/

## Eclipse ##
.buildpath
.project

### NetBeans ###
nbproject/private/
build/
nbbuild/
dist/
nbdist/
nbactions.xml
nb-configuration.xml


### vim ###
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist
*~

### Composer ###
vendor/
composer.lock
autotune.json
19 changes: 19 additions & 0 deletions LICENSE.md
@@ -0,0 +1,19 @@
# The MIT License (Expat)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
4 changes: 4 additions & 0 deletions README.md
@@ -0,0 +1,4 @@
Droid plugin: cron
==================

For more information on Droid, please check out [droidphp.com](http://droidphp.com)
30 changes: 30 additions & 0 deletions composer.json
@@ -0,0 +1,30 @@
{
"name": "droid/droid-cron",
"description": "Droid plugin droid-cron",
"homepage": "http://www.github.com/droid-php/droid-cron",
"keywords": ["php", "droid", "cron"],
"type": "library",
"authors": [
{
"name": "LinkORB Engineering",
"email": "engineering@linkorb.com",
"role": "Development"
}
],
"require": {
"php": ">=5.4.0",
"droid/libcommand": "~1.0",
"symfony/process": "~2.7|~3.0.0",
"symfony/console": "~2.7"
},
"require-dev": {
"phpunit/phpunit": "^4.8",
"linkorb/autotune": "~1.0"
},
"autoload": {
"psr-4": {
"Droid\\Plugin\\Cron\\": "src/"
}
},
"license": "MIT"
}
20 changes: 20 additions & 0 deletions phpunit.xml.dist
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="phpunit.xsd"
bootstrap="test/bootstrap.php"
backupGlobals="false"
verbose="true">

<testsuites>
<testsuite name="droid-cron">
<directory suffix="Test.php">test</directory>
</testsuite>
</testsuites>

<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src/</directory>
</whitelist>
</filter>

</phpunit>
17 changes: 17 additions & 0 deletions src/DroidPlugin.php
@@ -0,0 +1,17 @@
<?php

namespace Droid\Plugin\Cron;

class DroidPlugin
{
public function __construct($droid)
{
$this->droid = $droid;
}

public function getCommands()
{
return array(
);
}
}
5 changes: 5 additions & 0 deletions test/bootstrap.php
@@ -0,0 +1,5 @@
<?php
/**
* Require the composer-generated autoloader.
*/
$droid_test_autoloader = include __DIR__ . '/../vendor/autoload.php';

0 comments on commit 4498e3f

Please sign in to comment.