Added eV build script
This commit is contained in:
parent
3a789d2dd3
commit
e84dfb5809
1 changed files with 14 additions and 0 deletions
14
openflexure_microscope/install.py
Normal file
14
openflexure_microscope/install.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
from pynpm import NPMPackage
|
||||
import os
|
||||
|
||||
dir_path = os.path.dirname(os.path.realpath(__file__))
|
||||
pkg_path = os.path.join(dir_path, "api", "static", "package.json")
|
||||
|
||||
pkg = NPMPackage(pkg_path)
|
||||
|
||||
def install():
|
||||
pkg.install()
|
||||
|
||||
def build():
|
||||
pkg.install()
|
||||
pkg.run_script('build')
|
||||
Loading…
Add table
Add a link
Reference in a new issue