{"push_id":584537898,"size":1,"distinct_size":1,"ref":"refs/heads/inbound","head":"2724dd55e4e6dbfa3275605af96ee46f947a12be","before":"2f1041889b7101366e60c28aad41ce7a582e10c8","commits":[{"sha":"2724dd55e4e6dbfa3275605af96ee46f947a12be","author":{"email":"5f6c3c483b761e007e91b9b7e2d2ea43c12097a1@mozilla.com","name":"Nathan Froyd"},"message":"Bug 1136383 - enable specifying method names for GENERATED_FILES scripts; r=gps\n\nThe inputs to scripts for GENERATED_FILES are restricted to filenames\nonly.  We have several examples in the tree, however, where a script\ntakes non-filename arguments.  For converting those cases to use\nGENERATED_FILES, we first need to provide some way of \"injecting\"\nnon-filename arguments into the script.\n\nThis commit adds a method for doing that, by extending the .script flag\non GENERATED_FILES to include an optional method name:\n\n  f = GENERATED_FILES['foo']\n  f.script = 'script.py:make_foo'\n\nwill invoke the make_foo function found in script.py instead of the\nfunction named main.","distinct":true,"url":"https://api.github.com/repos/mozilla/gecko-dev/commits/2724dd55e4e6dbfa3275605af96ee46f947a12be"}]}