nodejs-symlink-deps: symlink devDependencies when --check is used
This commit is contained in:
parent
5a2667dfb1
commit
af5d695090
@ -56,3 +56,10 @@ for path in modules:
|
|||||||
|
|
||||||
if os.path.exists(target):
|
if os.path.exists(target):
|
||||||
os.symlink(target, dep)
|
os.symlink(target, dep)
|
||||||
|
|
||||||
|
if check and '--no-devdeps' not in sys.argv and 'devDependencies' in md:
|
||||||
|
for dep in md['devDependencies']:
|
||||||
|
target = os.path.join(sitelib, dep)
|
||||||
|
|
||||||
|
if os.path.exists(target):
|
||||||
|
os.symlink(target, dep)
|
||||||
|
@ -192,6 +192,7 @@ cp -p common.gypi %{buildroot}%{_datadir}/node
|
|||||||
- new upstream release 0.10.3
|
- new upstream release 0.10.3
|
||||||
http://blog.nodejs.org/2013/04/03/node-v0-10-3-stable/
|
http://blog.nodejs.org/2013/04/03/node-v0-10-3-stable/
|
||||||
- nodejs-symlink-deps: only create symlink if target exists
|
- nodejs-symlink-deps: only create symlink if target exists
|
||||||
|
- nodejs-symlink-deps: symlink devDependencies when --check is used
|
||||||
|
|
||||||
* Sun Mar 31 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.2-1
|
* Sun Mar 31 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.2-1
|
||||||
- new upstream release 0.10.2
|
- new upstream release 0.10.2
|
||||||
|
Loading…
Reference in New Issue
Block a user