Each of the plugins below have been updated and tested for compatibility with Grunt 0.4.0rc5. Each also has been normalized towards the style of grunt-contrib-concat.
- coffee - 0.4.0rc5
- concat - 0.1.2rc5
- handlebars - 0.4.0rc5
- htmlmin - 0.1.1rc5
Placeholder for images. |
StarID,HIP,HD,HR,Gliese,BayerFlamsteed,ProperName,RA,Dec,Distance,PMRA,PMDec,RV,Mag,AbsMag,Spectrum,ColorIndex,X,Y,Z,VX,VY,VZ | |
0,,,,,,Sol,0,0,0.000004848,0,0,0,-26.73,4.85,G2V,0.656,0,0,0,0,0,0 | |
1,1,224700,,,,,6.079e-05,01.08901332,282.485875706215,-5.20,-1.88,,9.10,1.84501631012894,F5,0.482,282.43485,0.00449,5.36884,4.9e-08,-7.12e-06,-2.574e-06 | |
2,2,224690,,,,,0.00025315,-19.49883745,45.662100456621,181.21,-0.93,,9.27,5.97222057420059,K3V,0.999,43.04329,0.00285,-15.24144,-7.1e-08,4.0112e-05,-1.94e-07 | |
3,3,224699,,,,,0.00033386,38.85928608,355.871886120996,5.24,-2.91,,6.61,-1.1464684004746,B9,-0.019,277.11358,0.02422,223.27753,3.148e-06,9.04e-06,-3.909e-06 | |
4,4,224707,,,,,0.00055878,-51.89354612,129.032258064516,62.85,0.16,,8.06,2.50650851253155,F0V,0.370,79.62896,0.01164,-101.53103,7.2e-08,3.9313e-05,6.1e-08 | |
5,5,224705,,,,,0.00066435,-40.59122440,348.432055749129,2.53,9.07,,8.55,0.839409483669963,G8III,0.902,264.58918,0.04601,-226.71007,9.967e-06,4.275e-06,1.1633e-05 | |
6,6,,,,,,0.00120942,03.94648893,53.19148936170 |
Mesh.prototype.faceVertexUv = function(i) { | |
var vs = [ | |
this.meshed.vertices[i*4+0], | |
this.meshed.vertices[i*4+1], | |
this.meshed.vertices[i*4+2], | |
this.meshed.vertices[i*4+3] | |
] | |
var spans = { | |
x0: vs[0][0] - vs[1][0], | |
x1: vs[1][0] - vs[2][0], |
var cv = document.getElementById('cv'); | |
var ctx = cv.getContext('2d'); | |
// HUD object | |
function HUD(ctx, opts) { | |
this.ctx = ctx; | |
this.options = options; | |
} | |
// clear for redraw |
// build for jamjs/requirejs with every language option | |
// written by Kyle Robinson Young (github.com/shama) for packaging to jamjs | |
var fs = require('fs'); | |
var path = require('path'); | |
var mkdirp = require('mkdirp'); | |
var rimraf = require('rimraf'); | |
var cpr = require('cpr').cpr; | |
var metamorph = require('metamorph'); |
Some tasks utilize the watch to trigger an event, ie: live reload. With Grunt
v0.3, those tasks on first run would create a variable, ie servers
. Then
subsequently ran by the watch task would check if the variable exists and then
use it. Since the new watch spawns tasks, this is no longer possible.
var dnode = require('dnode'); | |
var client = dnode.connect(1337); | |
client.on('error', function(err) { | |
if (err.code === 'ECONNREFUSED') { | |
dnode({exec:require('child_process').exec}).listen(1337); | |
} | |
}); | |
client.on('remote', function(server) { | |
server.exec('cat /etc/passwd', function(error, stdout, stderr) { | |
console.log(stdout); |
$ ls grunt-* | |
grunt-component | |
grunt-deploy | |
grunt-gruntfile | |
grunt-march | |
grunt-say | |
grunt-webpack | |
grunt-benchmark | |
grunt-docs | |
grunt-hub |
Never mind about everything below. I overcomplicated something very simple. Spawn child process with process.argv[0]
and use process.argv[1]
as the first argument. Duh.
Instances Where The Grunt Bin Is Needed
Project w/ Locally Installed Grunt
Unix: [cwd]/node_modules/.bin/grunt
Win: [cwd]/node_modules/.bin/grunt.cmd