-
Notifications
You must be signed in to change notification settings - Fork 309
First stab at converting to invoke tasks #2295
Conversation
@@ -41,3 +41,6 @@ | |||
|
|||
./vendor/vcrpy-0.6.0.tar.gz | |||
./vendor/environment-1.0.0.tar.gz | |||
|
|||
invoke==0.7.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should vendorize until we don't. No?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haha I guess I was being sneaky :) I'll bundle the tarball.
And bah. I just realized that scrubbing the tarballs out of the git history later is going to break any flavoured markdown links to commit hashes. I was thinking we'd be able to do that with minimal consequence down the road, but it would be an inconvenience to break those :/
Is the name of the |
Yep, tasks is what the file or dir needs to be called, as far as I can tell. You have another preference? |
Look ok? Just want to know whether we like invoke. Feel free to merge, and conversion of the rest can be a new PR (might work on bitcoin payout script first) |
Accompanying docs in other PR |
""" | ||
Usage: | ||
|
||
[gittip] $ env/bin/invoke set_paypal_email -u username -p [email protected] [-a 12e4s678] [--overwrite] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once you're in a virtualenv, env/bin
is on your PATH
. So you can just call:
[gittip] $ invoke set_paypal_email ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh. hm. When I run make env
, I don't seem to get an active virtualenv... Am I missing something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have to activate the virtualenv yourself, like so:
$ source env/bin/activate
Or you can use bash's .
alias for source
:
$ . env/bin/activate
I have a shell alias so I can just do:
$ a
First stab at converting to invoke tasks
Thanks @patcon! :-) |
Ref: #2294