From a16fc86f5ab794bbc7e40893605f4e191c62a360 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Maquin?= Date: Wed, 13 Feb 2019 16:30:11 +1100 Subject: [PATCH] Fix README and set up Codecov --- .circleci/config.yml | 1 + README.md | 9 +++++---- jest.config.js | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index caa308b..3c528a9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,3 +30,4 @@ jobs: # run tests! - run: npm test + - run: npm run-script build diff --git a/README.md b/README.md index 770b1e2..825c3ca 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # ![Autodazzler](https://i.imgur.com/KgX7eIm.jpg) - +[![CircleCI](https://circleci.com/gh/ephread/Autodazzler/tree/master.svg?style=shield)](https://circleci.com/gh/ephread/Autodazzler/tree/master) +[![codecov](https://codecov.io/gh/ephread/Autodazzler/branch/master/graph/badge.svg)](https://codecov.io/gh/ephread/Autodazzler) [![License](https://img.shields.io/badge/license-GPL-green.svg)](https://github.com/ephread/autodazzler/blob/master/LICENSE.md) Autodazzler is a small utility to perform batch rendering in Daz Studio. @@ -82,7 +83,7 @@ Note that all paths use forward slashes, even if you are working on windows. { "Cube 2": "path/to/CubePosePreset.duf" } ], "changeVisibility": { - "Cube 1": { "visible": false } + "Cube 1": { "visible": false }, "Cube 2": { "visible": true, "recursive": true } } } @@ -90,7 +91,7 @@ Note that all paths use forward slashes, even if you are working on windows. ##### Make the object named `Cube 1` visible -``` +```json "changeVisibility": { "Cube 1": { "visible": true } } @@ -98,7 +99,7 @@ Note that all paths use forward slashes, even if you are working on windows. ##### Make the object named `Cube 1` and all of its children invisible -``` +```json "changeVisibility": { "Cube 1": { "visible": false, "recursive": true } } diff --git a/jest.config.js b/jest.config.js index dda0a4d..7b23bc1 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,5 +1,5 @@ module.exports = { "testEnvironment": "node", "collectCoverage": true, - "collectCoverageFrom": ["src/**/*.{js}"] + "collectCoverageFrom": ["src/**/*.js"] }