Symlinks needed by other heaps of peeps (#1995)

This commit is contained in:
Erik Arvidsson
2016-07-08 13:40:19 -07:00
committed by GitHub
parent 96ed40bbb5
commit 899ed35e55
2 changed files with 2 additions and 4 deletions

View File

@@ -40,5 +40,6 @@
},
"scripts": {
"test": "exit 0"
}
},
"preinstall": "ln -sf ../../js/.babelrc && ln -sf ../../js/.flowconfig"
}

View File

@@ -23,9 +23,6 @@ def main():
subprocess.check_call(['npm', 'install'], shell=False)
with pushd('../'):
# Symlinks do not get deployed
symlink.Force('../../js/.babelrc', os.path.abspath('.babelrc'))
symlink.Force('../../js/.flowconfig', os.path.abspath('.flowconfig'))
subprocess.check_call(['npm', 'install'], shell=False)
subprocess.check_call(['npm', 'install'], shell=False)