To spend all the money you have or to try as much as you can to do something. Example: We shot the works on our son's education.