Skip to content

Commit

Permalink
Add support for Crystal 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lbarasti committed Apr 13, 2021
1 parent 4408460 commit 0551fa1
Show file tree
Hide file tree
Showing 22 changed files with 35 additions and 6,123 deletions.
9 changes: 0 additions & 9 deletions .editorconfig

This file was deleted.

19 changes: 14 additions & 5 deletions .github/workflows/crystal.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: build

on: [push]
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
Expand All @@ -11,8 +15,13 @@ jobs:
image: crystallang/crystal

steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: shards install
- uses: actions/checkout@v2
- name: Run tests
run: crystal spec
run: crystal spec
- name: Build docs
run: crystal docs
- name: deploy docs
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
uses: oprypin/push-to-gh-pages@v3
with:
publish_dir: ./docs
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"spellright.language": [],
"spellright.documentTypes": [
"latex"
]
}
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
[![GitHub release](https://img.shields.io/github/release/lbarasti/statistics.svg)](https://github.com/lbarasti/statistics/releases)
![Build Status](https://github.com/lbarasti/statistics/workflows/build/badge.svg)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![Docs](https://img.shields.io/badge/docs-available-brightgreen.svg)](https://lbarasti.github.io/statistics)

# statistics

A statistical library to perform descriptive statistics and generate random values based on popular probability distributions.

## Installation

1. Add the dependency to your `shard.yml`:
Add the dependency to your `shard.yml`:

```yaml
dependencies:
statistics:
github: lbarasti/statistics
```
2. Run `shards install`
Run `shards install`

## Usage

Expand Down
Loading

0 comments on commit 0551fa1

Please sign in to comment.