In a large bowl, whisk together the flour, sugar, and salt. Add cold cubed butter and use a pastry cutter (or your hands) to mix until crumbly. Add the egg and a tablespoon of milk or water at a time, mixing just until the dough comes together. Divide into two disks, wrap in plastic, and chill for 30 minutes.