Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Commit

Permalink
Remove makefile, use npm scripts + remove private tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan Davey committed Aug 11, 2016
1 parent d8fdcf0 commit 83743b9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 41 deletions.
37 changes: 0 additions & 37 deletions Makefile

This file was deleted.

2 changes: 1 addition & 1 deletion _hyde.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: McFly
description: Convert legacy Olsen timezone strings to their modern equivalent.
github_link: http://github.com/SafetyCulture/mcfly.git
feature_color: "#404041"
feature_color: "#2A94E5"
3 changes: 2 additions & 1 deletion lib/tzLinkParser.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ parse = (streams, callback) ->

for fileResult in results
for result in fileResult
if result.type? and result.type == ACCEPTED_TYPE and result.target? and result.target != "" and result.link? and result.link != ""
if result.type? and result.type == ACCEPTED_TYPE and result.target? and result.target != "" and
result.link? and result.link != ""
conversions[result.link] = result.target

callback null, conversions
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
"url": "git://github.com/SafetyCulture/mcfly.git"
},
"scripts": {
"test": "make test"
"test": "NODE_ENV=test ./node_modules/.bin/mocha --compilers coffee:coffee-script/register --reporter spec --recursive -s 120",
"cov": "NODE_ENV=test COVERAGE=yes ./node_modules/.bin/mocha --compilers coffee:coffee-script/register --require test/registerCoverageHandlers.js --recursive --reporter html-cov -s 120 > coverage-report.html && open coverage-report.html",
"lint": "COFFEELINT_CONFIG=./test/coffeelint.json ./node_modules/.bin/coffeelint lib"
},
"private": true,
"dependencies": {
"async": "^0.9.0",
"coffee-script": "^1.9.1",
Expand Down

0 comments on commit 83743b9

Please sign in to comment.