Rakefile in adiwg-mdcodes-1.0.0 vs Rakefile in adiwg-mdcodes-1.0.1

- old
+ new

@@ -6,7 +6,16 @@ t.libs << 'test' t.test_files = FileList['test/tc*.rb'] t.verbose = true end +task :grunt do + system("rm -rf ./resources/json") # empty the public directory + system("grunt") + + system("git add ./resources/json") + system("git commit -m \"Updating JSON files\"") +end + desc "Run tests" -task :default => :test +task default: %w[test] +task build: %w[grunt] \ No newline at end of file