Files
kubescape/install_dependencies.py
T
2022-07-17 18:56:20 +03:00

16 lines
439 B
Python

import os
import platform
def main():
current_platform = platform.system()
if current_platform == "Windows":
pass
elif current_platform == "Linux" or current_platform == "Darwin":
os.system(f"git submodule update --init --recursive --init && cd git2go && make install-static")
else:
raise OSError("Platform %s is not supported!" % (current_platform))
if __name__ == '__main__':
main()