fixing executable
This commit is contained in:
parent
36216aa647
commit
928aedce5c
@ -1,5 +1,5 @@
|
|||||||
# Steady Mark
|
# Steady Mark
|
||||||
> version 0.4.2
|
> version 0.4.3
|
||||||
[![Build Status](https://secure.travis-ci.org/gabrielfalcao/steadymark.png?branch=master)](http://travis-ci.org/#!/gabrielfalcao/steadymark)
|
[![Build Status](https://secure.travis-ci.org/gabrielfalcao/steadymark.png?branch=master)](http://travis-ci.org/#!/gabrielfalcao/steadymark)
|
||||||
|
|
||||||
![meme](http://cdn.memegenerator.net/instances/400x/24908847.jpg)
|
![meme](http://cdn.memegenerator.net/instances/400x/24908847.jpg)
|
||||||
@ -64,10 +64,10 @@ Just run with:
|
|||||||
$ steadymark README.md
|
$ steadymark README.md
|
||||||
```
|
```
|
||||||
|
|
||||||
# Steadymark is on version 0.4.2
|
# Steadymark is on version 0.4.3
|
||||||
|
|
||||||
```python
|
```python
|
||||||
>>> from sure import this
|
>>> from sure import this
|
||||||
>>> from steadymark import version
|
>>> from steadymark import version
|
||||||
>>> assert this(version).should.equal("0.4.2")
|
>>> assert this(version).should.equal("0.4.3")
|
||||||
```
|
```
|
||||||
|
@ -40,6 +40,12 @@ def run(filenames):
|
|||||||
runner = Runner(filename)
|
runner = Runner(filename)
|
||||||
runner.run()
|
runner.run()
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
parser = OptionParser()
|
||||||
|
(options, args) = parser.parse_args()
|
||||||
|
run(args or ['README.md'])
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
'run',
|
'run',
|
||||||
'Runner',
|
'Runner',
|
||||||
@ -47,6 +53,4 @@ __all__ = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
parser = OptionParser()
|
main()
|
||||||
(options, args) = parser.parse_args()
|
|
||||||
run(args or ['README.md'])
|
|
||||||
|
@ -24,4 +24,4 @@
|
|||||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||||
# OTHER DEALINGS IN THE SOFTWARE.
|
# OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
version = '0.4.2'
|
version = '0.4.3'
|
||||||
|
Loading…
Reference in New Issue
Block a user