change the other one too god im dumb
This commit is contained in:
parent
fecfb7da62
commit
26902bd56e
|
@ -1,15 +1,14 @@
|
|||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
import os, sys
|
||||
import os
|
||||
if __name__ == '__main__':
|
||||
if not os.path.exists('./_layouts'):
|
||||
raise OSError('the _layouts directory doesnt exist! clone again pls :)')
|
||||
try:
|
||||
os.system('cd _layouts && yarn')
|
||||
except OSError:
|
||||
print("""
|
||||
raise("""
|
||||
*for your own sanity just install yarn:*
|
||||
`npm i -g yarn@latest`
|
||||
""")
|
||||
sys.exit(130)
|
||||
os.system('cd _layouts && yarn && yarn dev')
|
||||
|
|
Loading…
Reference in New Issue