Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/havvg/sismofinder
A wrapper for locating Sismo project configuration.
https://github.com/havvg/sismofinder
ci continuous-integration php sismo
Last synced: about 2 months ago
JSON representation
A wrapper for locating Sismo project configuration.
- Host: GitHub
- URL: https://github.com/havvg/sismofinder
- Owner: havvg
- License: mit
- Created: 2011-09-26T17:25:19.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-12-09T22:33:57.000Z (about 12 years ago)
- Last Synced: 2023-03-10T22:23:47.774Z (almost 2 years ago)
- Topics: ci, continuous-integration, php, sismo
- Language: PHP
- Homepage: http://toni.uebernickel.info/SismoFinder/
- Size: 561 KB
- Stars: 10
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SismoFinder
[![Build Status](https://secure.travis-ci.org/havvg/SismoFinder.png)](http://travis-ci.org/havvg/SismoFinder)
`SismoFinder` is a simple wrapper around the configuration file of `Sismo`.
There are two major benefits when using SismoFinder as a replacement or addition to your Sismo configuration file.The actual project's configuration for a Sismo project is saved within the project itself.
Thus there is no need to setup each new project within Sismo.The configuration for Sismo is shared among the collaborators of the project.
## Installation
See [INSTALL.md](INSTALL.md) for instructions on how to install `SismoFinder`.
## Configuration
`SismoFinder` by default looks for two files `sismo.config.php` and if not found `sismo.config.php.dist`.
* Package the `sismo.config.php.dist` within your project.
* Add the `sismo.config.php` to your `.gitignore`.### Example SismoFinder configuration file
This is a very basic example, how a distributed project configuration may look like,
see [Sismo README](https://github.com/fabpot/Sismo/blob/master/README.rst) for more details.```php
registerNamespaces(array(
'SismoFinder' => '/Users/havvg/Web Development/SismoFinder/src',
));
$loader->register();$finder = new SismoFinder\Finder();
$finder->addWorkspace('/Users/havvg/Web Development');return $finder->getProjects();
```### Addition
```php
registerNamespaces(array(
'SismoFinder' => '/Users/havvg/Web Development/SismoFinder/src',
));
$loader->register();// create a Growl notifier (for OSX)
$notifier = new Sismo\Notifier\GrowlNotifier('');$finder = new SismoFinder\Finder();
$finder->addWorkspace('/Users/havvg/Web Development');$projects = $finder->getProjects();
// A project outside of all workspaces
$projects[] = new Sismo\Project('Project D (local)', '/Users/havvg/Project D/', $notifier);return $projects;
```For more usage examples, see the examples in the `doc` folder.