Skip to content

Commit fa3f33d

Browse files
committed
version 0.0.2
1 parent 9256fe3 commit fa3f33d

File tree

7 files changed

+29
-7
lines changed

7 files changed

+29
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
### 0.0.2
4+
5+
Added examples
6+
37
### 0.0.1
48

59
Initial version with all basics implemented

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Remote Method Invocation for dart
22
[![Build Status](https://travis-ci.org/MatzeS/dart_rmi.svg?branch=master)](https://travis-ci.org/MatzeS/dart_rmi)
33

4-
This project provides an solution for remote method invocation in dart without the use of reflection. Since reflection is only available on the Dart VM but not on a JS VM, this solution is instead based on code generation, which provides a proxy and invoke implementation.
4+
This project provides an solution for remote method invocation in dart without the use of reflection. Since reflection is only available on the Dart VM but not on a JS VM, this solution is entirely based on code generation instead.
55

66
## Getting Started
77

example/lib/example.g.dart

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/pubspec.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: rmi_example
2-
version: 0.0.1
2+
version: 0.0.2
33
description: >
44
authors:
55
- Matthias Sokolowski <matthias.sokolowski@googlemail.com>
@@ -9,7 +9,8 @@ environment:
99
sdk: '>=2.0.0-dev <3.0.0'
1010

1111
dependencies:
12-
rmi: ^0.0.1
12+
rmi: ^0.0.2
1313

1414
dev_dependencies:
15-
rmi_generator: ^0.0.1
15+
rmi_generator: ^0.0.2
16+
build_runner: ^1.1.2

rmi/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: rmi
2-
version: 0.0.1
2+
version: 0.0.2
33
description: >
44
Remote Method Invocation without reflection but basd on code generation.
55
This library is the runtime dependency. Additionally add `rmi__generator` as dev dependency.

rmi_generator/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: rmi_generator
2-
version: 0.0.1
2+
version: 0.0.2
33
description: >
44
This library is the dev dependency.
55
authors:
@@ -10,7 +10,7 @@ environment:
1010
sdk: '>=2.0.0-dev <3.0.0'
1111

1212
dependencies:
13-
rmi: ^0.0.1
13+
rmi: ^0.0.2
1414
analyzer: ^0.33.3
1515
build: ^1.0.0
1616
build_config: ^0.3.1

tool/presubmit

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ dartanalyzer \
1313
--fatal-infos \
1414
.
1515
cd ..;
16+
1617
cd rmi_generator;
1718
pub get
1819
pub upgrade
@@ -28,3 +29,18 @@ pub run test --platform vm;
2829
pub run test --platform chrome;
2930
pub run test --platform node;
3031
cd ..;
32+
33+
cd example;
34+
pub get
35+
pub upgrade
36+
pub run build_runner build \
37+
--delete-conflicting-outputs \
38+
--fail-on-severe
39+
dartfmt -w .
40+
dartanalyzer \
41+
--fatal-warnings \
42+
--fatal-infos \
43+
.
44+
dart lib/example.dart
45+
cd ..;
46+

0 commit comments

Comments
 (0)