Project setup

This commit is contained in:
Mark Spanbroek 2021-01-11 10:57:27 +01:00 committed by markspanbroek
parent 29bb6828ee
commit bd29797aba
7 changed files with 34 additions and 0 deletions

5
.editorconfig Normal file
View File

@ -0,0 +1,5 @@
[*]
indent_style = space
insert_final_newline = true
indent_size = 2
trim_trailing_whitespace = true

15
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- uses: iffy/install-nim@v3
- name: Test
run: nimble test -y

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*
!*/
!*.*

1
.tool-versions Normal file
View File

@ -0,0 +1 @@
nim 1.4.2

0
dagger.nim Normal file
View File

4
dagger.nimble Normal file
View File

@ -0,0 +1,4 @@
version = "0.1.0"
author = "Dagger Team"
description = "Dagger Storage Network"
license = "MIT"

6
tests/testDagger.nim Normal file
View File

@ -0,0 +1,6 @@
import unittest
suite "example":
test "unit testing works":
check 2 == 2