Skip to content

Commit

Permalink
chore: Gruntfile.js cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
chaldon committed Aug 12, 2015
1 parent 6eb3ec7 commit 0fd4fe6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
18 changes: 0 additions & 18 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,6 @@
var bbcms = require('./index');
var path = require('path');

var generateChangeDetectionFiles = function (grunt) {
var srcs = [
'test/fixtures/sample.txt',
];
var dest = 'test/fixtures/generated';

srcs.forEach(function (src) {
var content = grunt.file.read(src);
var result = bbcms.parseText(content);

var baseName = path.basename(src, path.extname(src));
var destName = baseName + '.json';
var destPath = path.join(dest, destName);
var destContent = JSON.stringify(result, undefined, 2);
grunt.file.write(destPath, destContent);
});
};

module.exports = function (grunt) {

grunt.loadNpmTasks('grunt-contrib-jshint');
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ CDA to FHIR converter

Convert CDA xml to FHIR bundle

[![Build Status](https://travis-ci.org/amida-tech/cda-fhir.svg)](https://travis-ci.org/amida-tech/cda-fhir)[![Coverage Status](https://coveralls.io/repos/amida-tech/cda-fhir/badge.svg?branch=master&service=github)](https://coveralls.io/github/amida-tech/cda-fhir?branch=master)
[![Build Status](https://travis-ci.org/amida-tech/cda-fhir.svg)](https://travis-ci.org/amida-tech/cda-fhir) [![Coverage Status](https://coveralls.io/repos/amida-tech/cda-fhir/badge.svg?branch=master&service=github)](https://coveralls.io/github/amida-tech/cda-fhir?branch=master)

0 comments on commit 0fd4fe6

Please sign in to comment.