Skip to content

Instantly share code, notes, and snippets.

@nicokruger
Created March 22, 2012 16:54
Show Gist options
  • Save nicokruger/2159639 to your computer and use it in GitHub Desktop.
Save nicokruger/2159639 to your computer and use it in GitHub Desktop.
Generate stub gcc command for a makefile to import node module into netbeans
node-waf clean build -v 2>&1 | grep runner | head -n 1 | cut -d ' ' -f 6- | python -c "import sys; print(' '.join([x.strip('\'') for x in sys.stdin.readline().split(', ')]).replace('[\'','').replace(']\'', ''))"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment