Skip to content

Commit

Permalink
release alpha8
Browse files Browse the repository at this point in the history
  • Loading branch information
hartsantler committed Nov 13, 2015
1 parent 67224c0 commit 24b8399
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The other backends are experimental.
Installing
----------

* [Debian Package](https://github.com/rusthon/Rusthon/releases/download/0.9.9q/rusthon_0.9.4_all.deb)
* [Debian Package](https://github.com/rusthon/Rusthon/releases/download/0.9.9s/rusthon_0.9.6_all.deb)
* Fedora package comming soon

If you want to stay in sync with the git-repo, use the `install-dev.sh` script instead of the Debian or Fedora package. note: `install-dev.sh` just creates a symbolic link `transpile` that points to the current location of `rusthon.py`.
Expand Down
6 changes: 3 additions & 3 deletions make-linux-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ chmod +x rusthon.py
sudo ln --symbolic --force /usr/lib/rusthon/rusthon.py /usr/bin/transpile

## debian
fpm -s dir -t deb -a all -m "brett hartshorn <goatman.py@gmail.com>" -n rusthon -v 0.9.5 /usr/bin/transpile ./rusthon.py=/usr/lib/rusthon/rusthon.py ./src=/usr/local/lib/rusthon/
fpm -s dir -t deb -a all -m "brett hartshorn <goatman.py@gmail.com>" -n rusthon -v 0.9.6 /usr/bin/transpile ./rusthon.py=/usr/lib/rusthon/rusthon.py ./src=/usr/local/lib/rusthon/

## check contents of deb
dpkg -c rusthon_0.9.5_all.deb
dpkg -c rusthon_0.9.6_all.deb

## fedora -- requires rpmbuild -- which is not available in debian?
fpm -s dir -t rpm -a noarch -n rusthon -v 0.9.5 /usr/bin/transpile ./rusthon.py=/usr/lib/rusthon/rusthon.py ./src=/usr/local/lib/rusthon/
fpm -s dir -t rpm -a noarch -n rusthon -v 0.9.6 /usr/bin/transpile ./rusthon.py=/usr/lib/rusthon/rusthon.py ./src=/usr/local/lib/rusthon/

21 changes: 21 additions & 0 deletions regtests/loop/interval_loop.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
from runtime import *
'''
timeout decorator with loop
'''

counter = 0

def main():
@timeout(1)
def foo():
print 'foo'

@timeout(1, loop=True)
def bar():
global counter
print 'bar:'+counter
counter += 1
if counter > 5:
process.exit()

main()

0 comments on commit 24b8399

Please # to comment.