rm build dir and add gitignore