Sun calculation js library which is fully based on formula from http://aa.quae.nl/en/reken/zonpositie.html
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
348 B
15 lines
348 B
#!/usr/bin/env node
|
|
'use strict'
|
|
const tap = require('../lib/tap.js')
|
|
const args = process.argv.slice(2)
|
|
|
|
if (args.length === 1) {
|
|
const path = require('path')
|
|
const file = path.resolve(args[0])
|
|
tap.mochaGlobals()
|
|
require(file)
|
|
} else {
|
|
for (let i = 0; i < args.length; i++) {
|
|
tap.spawn(process.execPath, [__filename, args[i]])
|
|
}
|
|
}
|
|
|