Heat 1 tablespoon olive oil in a medium saucepan over medium high heat, and saute the onion, green onion, and garlic 5 minutes, until tender. Mix in the tomato. Reduce heat to low, and blend in the flour and water. Cook and stir until thickened. Mix in the beer and lime juice, season with salt and pepper, and simmer while cooking the shrimp.