diff options
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | contractor.py | 4 |
2 files changed, 6 insertions, 3 deletions
@@ -1,2 +1,7 @@ *.html *.pdf + + +#Added by cargo + +/target diff --git a/contractor.py b/contractor.py index d03fc50..405bf28 100644 --- a/contractor.py +++ b/contractor.py @@ -46,12 +46,10 @@ def create_file(ctx, filename=None): # Check that the subprocess we last ran ended with the expected exit # code. def exit_code_is(ctx, exit_code=None): - assert_eq(ctx['exit_code'], int(exit_code)) + assert_eq(ctx['exit'], int(exit_code)) # Run the contractor to do a build. def run_contractor_build(ctx, filename=None): - ctx['exit_code'] = 0 - return # FIXME: contractor hasn't been written yet contractor = _binary('contractor') _run(ctx, [contractor, 'build', filename]) |