Skip to content

Commit

Permalink
added badge and fixed version
Browse files Browse the repository at this point in the history
  • Loading branch information
liuggio committed Jan 19, 2014
1 parent 777b6fd commit 62649fc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ or its latest stable version.
[![Latest Stable Version](https://poser.pugx.org/pugx/badge-poser/version.png)](https://packagist.org/packages/pugx/badge-poser)
[![Latest Unstable Version](https://poser.pugx.org/pugx/badge-poser/v/unstable.png)](https://packagist.org/packages/pugx/badge-poser)
[![Build Status](https://secure.travis-ci.org/PUGX/badge-poser.png)](http://travis-ci.org/PUGX/badge-poser)
[![License](https://poser.pugx.org/pugx/badge-poser/license.png)](https://packagist.org/packages/pugx/badge-poser)

## How to create your own Badge
- Go to the [Badge Poser](https://poser.pugx.org) website
Expand All @@ -16,7 +17,7 @@ or its latest stable version.

## Why a composer badge?

Not only because all the other languages already had it, but having the latest stable release in the readme could save developer time.
Not only because all the other languages already had it, but having the latest stable release in the readme could save time.

## Contribution

Expand All @@ -33,14 +34,13 @@ git clone git://github.com/PUGX/badge-poser.git
cd badge-poser
```

- Install dependencies:
- Install `go-lang`:

* Install `go-lang`
```
sudo apt-get update -qq
sudo apt-get install -qq golang git libgtk-3-dev libgtkspell-3-dev libtspi-dev trousers tor mercurial pkg-config libgtkspell-3-0 libgtkspell0
```
* Install go-buckler
- Install `go-buckler`

```
go get github.com/badges/buckler
Expand All @@ -54,10 +54,8 @@ php composer.phar self-update
php composer.phar install
```

- This will give you proper results:
- run phpunit:

``` bash
./bin/phpunit
```

#### This project was inspired by [pypy](https://pypip.in/)
```
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"file": "app/config/parameters.yml"
},
"branch-alias": {
"dev-master": "1.0-dev"
"dev-master": "2.0.x-dev"
}
}
}
1 change: 0 additions & 1 deletion src/PUGX/BadgeBundle/Resources/public/js/snippet.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ $(document).ready(function(){
$('#' + idx + '_html').html(snippet.html);
$('#' + idx + '_markdown').attr('value', snippet.markdown);
$('.' + idx + '_img').attr('src', snippet.img);
alert(snippet.markdown + '\n' + '#' + idx + '_markdown');
});
};

Expand Down

0 comments on commit 62649fc

Please sign in to comment.