Permalink
Browse files

Ignore density generated files

  • Loading branch information...
1 parent 8e21b7c commit b3fb864344d4b368f583d78ac2911822fc24e083 @wdavidw committed Apr 20, 2011
Showing with 14 additions and 0 deletions.
  1. +4 −0 .gitignore
  2. +5 −0 samples/gaussian_density.js
  3. +5 −0 samples/poisson_density.js
View
@@ -1,3 +1,7 @@
build
+samples/gaussian_density
+samples/gaussian_density.r
+samples/poisson_density
+samples/poisson_density.r
.*
!.gitignore
@@ -1,7 +1,12 @@
var gsl = require('gsl'),
fs = require('fs'),
+ path = require('path'),
spawn = require('child_process').spawn;
+
+ if(!path.existsSync(__dirname+'/gaussian_density')){
+ fs.mkdirSync(__dirname+'/gaussian_density',0755);
+ }
var stream = fs.createWriteStream(__dirname+'/gaussian_density/function_dev_1.data');
var buf = '';
@@ -1,7 +1,12 @@
var gsl = require('gsl'),
fs = require('fs'),
+ path = require('path'),
spawn = require('child_process').spawn;
+
+ if(!path.existsSync(__dirname+'/poisson_density')){
+ fs.mkdirSync(__dirname+'/poisson_density',0755);
+ }
var stream = fs.createWriteStream(__dirname+'/poisson_density/function_mean_1.data');
var buf = '';

0 comments on commit b3fb864

Please sign in to comment.