Here is a "trick" to get the javascript command-line tool "jsc" available on Mac OS X, just add a link, for example like this:
sudo ln /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc ~/bin/jsc
then just run "jsc".
Subscribe to:
Post Comments (Atom)
2 comments:
Better?
sudo ln -s /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc /usr/local/bin/jsc
Sure, that's works too :)
Post a Comment