Package: node-get-caller-file
Version: 1.0.2
Revision: 1.1.1
###
BuildDepends: <<
	fink (>= 0.32)
<<
Depends: <<
	nodejs
<<
###
Source: mirror:debian:/pool/main/n/%n/%n_%v.orig.tar.gz
Source-Checksum: SHA256(95f087040d1e75f29705e38aa23e2e6fa1753efba6afd88fec2719025bf9638a)
SourceDirectory: get-caller-file-%v
Source2: mirror:debian:pool/main/n/%n/%n_%v-1.1.debian.tar.xz
Source2-Checksum: SHA256(ff2fa7ccb297d3542db7fee0b2479aaf302fb86ef78a247a74a2a9cc6a9d662e)
Source2ExtractDir: get-caller-file-%v
###
DocFiles: README.md
###
CompileScript: <<
echo
<<
# No tests as it will cause a circdep
#InfoTest: <<
#	TestDepends: <<
#		mocha
#	<<
#	TestScript: <<
#mocha test || exit 2
#	<<
#<<
InstallScript: <<
install -d -m0755 %i/share/nodejs/get-caller-file
install -m0644 index.js %i/share/nodejs/get-caller-file/
install -m0644 package.json %i/share/nodejs/get-caller-file/
<<
###
Description: Inspects the v8 stack trace
DescDetail: <<
Call this function in a another function to find out the file from which that
function was called from.
.
Inspired by http://stackoverflow.com/questions/13227489
.
Node.js is an event-based server-side JavaScript engine.
<<
###
License: Public Domain
Homepage: https://github.com/stefanpenner/get-caller-file#readme
Maintainer: Justin F. Hallett <thesin@users.sourceforge.net>