Update build rule and ignore repositories