dotfiles/INSTALL_ALL_THE_THINGS

32 lines
621 B
Text
Raw Normal View History

2016-02-07 22:09:07 +00:00
#!/usr/bin/env python3
2016-02-05 18:05:20 +00:00
2016-02-15 17:10:55 +00:00
import time
2016-02-08 22:27:58 +00:00
from scripts.install_dotfiles import *
2016-02-05 18:26:20 +00:00
2016-02-08 22:27:58 +00:00
EXEC_ORDER = [
update,
apt_upgrade,
apt_install_core,
add_apt_keys,
add_apt_sources,
add_apt_repos,
update,
run_custom_installs,
2016-02-09 22:20:35 +00:00
update,
apt_install_extras,
2016-02-09 22:49:59 +00:00
source,
2016-02-08 22:27:58 +00:00
install_atom_packages,
export_atom_config,
install_configs
]
2016-02-05 18:05:20 +00:00
if __name__ == '__main__':
2016-02-14 17:47:57 +00:00
t0 = time.time()
for script in EXEC_ORDER:
script()
print("\n>> {} Exescuted.\n".format(script.__name__))
t1 = time.time()
2016-02-09 23:28:58 +00:00
print("Execution Complete")
2016-02-14 17:47:57 +00:00
print("Took {} seconds.".format(int(t1 - t0)))