python from fabricate import * def build(): run('gcc -o my_app main.c') def test(): run('./my_app --test') def clean(): autoclean() def deploy(): run('cp my_app /usr/local/bin') if __name__ == '__main__': main(targets=['build', 'test', 'clean', 'deploy'])


上一篇:
下一篇:
切换中文