Skip to content

Commit

Permalink
Fixed test. Fixed license badge.
Browse files Browse the repository at this point in the history
  • Loading branch information
neonexus committed Oct 27, 2023
1 parent 331cff9 commit 94a6f02
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 32 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
.DS_Store
8 changes: 8 additions & 0 deletions .idea/dictionaries/neonexus.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Build Status](https://img.shields.io/travis/com/neonexus/drfg/release?style=plastic&logo=travis)](https://app.travis-ci.com/neonexus/drfg)
[![NPM version](https://img.shields.io/npm/v/drfg/latest?style=plastic&logo=npm&color=blue)](https://www.npmjs.com/package/drfg)
[![GitHub version](https://img.shields.io/github/v/release/neonexus/drfg?style=plastic&logo=github&label=GitHub@latest)](https://github.com/neonexus/drfg)
[<img src="license.svg" width="95" height="18">](LICENSE)
[<img src="gpl.svg" width="119" height="18">](LICENSE)

The idea of this package, is to make downloading / extracting / installing a GitHub repo's latest release a breeze (without creating a new repo, or using Git for that matter). Both in the terminal, and programmatically, if you are into that kind of thing...

Expand Down
25 changes: 25 additions & 0 deletions gpl.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 0 additions & 26 deletions license.svg

This file was deleted.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "drfg",
"version": "0.0.1",
"version": "0.0.2",
"description": "Download Release From GitHub, extract it into a new directory, and install dependencies, with a single command.",
"bin": {
"drfg": "src/bin.js",
Expand Down
4 changes: 2 additions & 2 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const utils = require('../src/utilities');

chai.use(require('chai-spies'));

describe('drfg - Download Zipball From Github', () => {
describe('drfg - Download Release From Github', () => {
afterEach((done) => {
chai.spy.restore();
done();
Expand Down Expand Up @@ -77,7 +77,7 @@ describe('drfg - Download Zipball From Github', () => {
});

it('should calculate the size of a directory recursively', (done) => {
const githubSize = fs.statSync(path.join(__dirname, '../.github/FUNDING.yml')).size + fs.statSync(path.join(__dirname, '../.github/workflows/codeql.yml')).size;
const githubSize = fs.statSync(path.join(__dirname, '../.github/FUNDING.yml')).size + fs.statSync(path.join(__dirname, '../.github/workflows/codeql-analysis.yml')).size;

const utilsCalc = utils.getDirectorySize(path.join(__dirname, '../.github'));

Expand Down

0 comments on commit 94a6f02

Please sign in to comment.