Skip to content

Commit

Permalink
Fix bin/standardize and add loc
Browse files Browse the repository at this point in the history
  • Loading branch information
hopsoft committed Oct 3, 2019
1 parent f66de73 commit b3bb187
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
[![Lines of Code](http://img.shields.io/badge/lines_of_code-241-brightgreen.svg?style=flat)](http://blog.codinghorror.com/the-best-code-is-no-code-at-all/)
[![Lines of Code](http://img.shields.io/badge/lines_of_code-268-brightgreen.svg?style=flat)](http://blog.codinghorror.com/the-best-code-is-no-code-at-all/)
[![Maintainability](https://api.codeclimate.com/v1/badges/83ddf1fee4af7e51a681/maintainability)](https://codeclimate.com/github/hopsoft/cable_ready/maintainability)

# CableReady
Expand Down
3 changes: 3 additions & 0 deletions bin/loc
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

cloc --exclude-dir=node_modules,test --include-ext=rb,js .
2 changes: 1 addition & 1 deletion bin/standardize
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

bundle exec standardrb --fix
cd ./javascript && yarn run prettier-standard cable_ready.js
2 changes: 1 addition & 1 deletion javascript/package.json
Expand Up @@ -3,7 +3,7 @@
"version": "4.0.5",
"main": "./cable_ready.js",
"scripts": {
"prettier-check": "yarn run prettier --check ./cable_ready.js"
"prettier-check": "yarn run prettier-standard --check ./cable_ready.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit b3bb187

Please sign in to comment.