rate/scripts/install.py
2022-10-17 17:11:50 +02:00

13 lines
210 B
Python
Executable File

#!/usr/bin/python
import os
import json
apps: 'list[str]' = json.load(open('apps.json'))['apps']
print(len(apps), 'apps:', apps)
for app in apps:
os.chdir(app)
os.system('npm ci')
os.chdir('..')