ignore generate image file.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
support array value for require option.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
add unit test for multiple require options.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>