add constraints to target only the files of under app/* directory.