5c09f43307
1. Move static_path into skyline_console to facilitate other modules to import. 2. Rename make build to make package Change-Id: I7c9c5873f90b80de1203e9a38cf0ee5cc68fc42b
10 lines
284 B
Python
10 lines
284 B
Python
import sys
|
|
|
|
from skyline_console import static_path
|
|
|
|
if static_path.joinpath("index.html").exists():
|
|
print(f'Static resource directory of "skyline-console" is:\n{str(static_path)}')
|
|
else:
|
|
print('Error, "skyline-console" doesn\'t contain any static resources')
|
|
sys.exit(1)
|