12 lines
No EOL
262 B
Python
12 lines
No EOL
262 B
Python
import os
|
|
import subprocess
|
|
|
|
|
|
def build_frontend():
|
|
"""
|
|
builds the frontend application
|
|
"""
|
|
|
|
path: str = os.path.join(os.path.dirname(__file__), "..", "..", "stockingly-frontend")
|
|
p = subprocess.Popen(["yarn", "build"], cwd=path)
|
|
p.wait() |