Skip to content

Commit

Permalink
Reorganize to please Nimble
Browse files Browse the repository at this point in the history
Give credit to the REAL author
  • Loading branch information
brjohnsn committed Feb 12, 2018
1 parent 008b809 commit 76df7f0
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 18 deletions.
11 changes: 8 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
nimcache
rxx
/test
# ===== Ignore all files without extensions (targeting linux executables) =====
*
!*.*
!*/
# =============================================================================

nimcache/
bin/
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ before_install:
- export PATH=$PWD/bin:$PATH
- cd ..
script:
- nim tests rx
- nimble test
13 changes: 0 additions & 13 deletions config.nims

This file was deleted.

1 change: 1 addition & 0 deletions nim.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--threads:on
20 changes: 20 additions & 0 deletions rx.nimble
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Package

version = "0.1.0"
author = "Andrea Ferretti"
description = "Reactive Extensions for Nim"
license = "MIT"
binDir = "bin"
srcDir = "src"
bin = @["rx"]
skipDirs = @["tests"]

# Dependencies

requires "nim >= 0.17.0"

task test, "test rx":
--threads: on
--run
--path: "src"
setCommand "c", "tests/test.nim"
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion rx.nim → src/rx.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import threadpool, times
import rx/schedulers, rx/core, rx/ops, rx/connectable
import schedulers, core, ops, connectable

export schedulers, core, ops, connectable

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 76df7f0

Please sign in to comment.