Run cargo fmt as part of generator.py

This commit is contained in:
Sebastian Dröge 2019-06-18 13:07:49 +03:00
parent be0f64ce93
commit ac2cf29fb1

View file

@ -56,5 +56,6 @@ for entry in [f for f in listdir('.') if isfile(join('.', f))]:
print('==> Regenerating "{}"...'.format(entry)) print('==> Regenerating "{}"...'.format(entry))
call(['./target/release/gir', '-c', entry]) call(['./target/release/gir', '-c', entry])
print('<== Done!') print('<== Done!')
call(['cargo', 'fmt'])
print('<= Done!') print('<= Done!')
print("Don't forget to check if everything has been correctly generated!") print("Don't forget to check if everything has been correctly generated!")