fixing executable
This commit is contained in:
parent
36216aa647
commit
928aedce5c
@ -1,5 +1,5 @@
|
||||
# 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)
|
||||
|
||||
![meme](http://cdn.memegenerator.net/instances/400x/24908847.jpg)
|
||||
@ -64,10 +64,10 @@ Just run with:
|
||||
$ steadymark README.md
|
||||
```
|
||||
|
||||
# Steadymark is on version 0.4.2
|
||||
# Steadymark is on version 0.4.3
|
||||
|
||||
```python
|
||||
>>> from sure import this
|
||||
>>> 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.run()
|
||||
|
||||
|
||||
def main():
|
||||
parser = OptionParser()
|
||||
(options, args) = parser.parse_args()
|
||||
run(args or ['README.md'])
|
||||
|
||||
__all__ = [
|
||||
'run',
|
||||
'Runner',
|
||||
@ -47,6 +53,4 @@ __all__ = [
|
||||
]
|
||||
|
||||
if __name__ == '__main__':
|
||||
parser = OptionParser()
|
||||
(options, args) = parser.parse_args()
|
||||
run(args or ['README.md'])
|
||||
main()
|
||||
|
@ -24,4 +24,4 @@
|
||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
# OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
version = '0.4.2'
|
||||
version = '0.4.3'
|
||||
|
Loading…
Reference in New Issue
Block a user