You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BUILDANDTEST.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,17 @@
1
1
# _Build and testing instructions_
2
2
3
+
## Setup
4
+
5
+
1. Clone the repo to your local directory
6
+
2. Change to the installation directory
7
+
3
8
## To build the generator and run the JUnit tests
4
9
5
10
```sh
6
11
mvn clean install
7
12
```
8
13
9
-
There are two types of JUnit tests to confirm that generated code matches expectations.
10
-
11
-
1. In memory string comparisons of generated Python to expected results.
12
-
2. Generated Python written to the file system (see the target directory) compared to expected results read from the file system (see the directory test/compare_generated_syntax/expected).
14
+
The JUnit tests conduct string comparisons of Python generated from Rune samples expected results.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
This document describes the contribution process and governance policies of the FINOS {project name} project. The project is also governed by the [Linux Foundation Antitrust Policy](https://www.linuxfoundation.org/antitrust-policy/), and the FINOS [IP Policy](https://community.finos.org/governance-docs/IP-policy.pdf), [Code of Conduct](https://community.finos.org/docs/governance/code-of-conduct), [Collaborative Principles](https://community.finos.org/docs/governance/collaborative-principles/), and [Meeting Procedures](https://community.finos.org/docs/governance/meeting-procedures/).
4
4
5
5
## Contribution Process
6
-
x
6
+
7
7
Before making a contribution, please take the following steps:
8
8
1. Check whether there's already an open issue related to your proposed contribution. If there is, join the discussion and propose your contribution there.
9
9
2. If there isn't already a relevant issue, create one, describing your contribution and the problem you're trying to solve.
Copy file name to clipboardExpand all lines: README.md
+11-23Lines changed: 11 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,39 +9,27 @@ The Python package requires Python version 3.11+.
9
9
## Repository Organization
10
10
11
11
-`README.md` - this file, for documentation purposes
12
+
-`BUILDANDTEST.md` - instructions on building and testing the repo
13
+
-`RELEASE.md` - information about the current release
12
14
-`src/main` - Java/Xtend code to generate Python from Rune
13
15
-`src/test` - Java/Xtend code to run JUnit tests on the code generation process
14
16
-`build` - configuration scripts to setup and tear down the Python unit testing environment
15
17
-`build/build_cdm.sh` - used to create a Python package from code generated using CDM Rune definitions
16
18
-`test` - Python unit tests and scripts to run the tests
17
19
18
-
## Prerequisites
19
-
20
-
[Eclipse 2021 (JSEE) + xtend support Eclipse IDE for Java and DSL Developers](https://www.eclipse.org/downloads/packages/release/2021-12/r/eclipse-ide-java-and-dsl-developers)
21
-
22
-
[Git](https://git-scm.com/)
20
+
## Installation Steps
21
+
Detailed build and testing instructions can be found in [BUILDANDTEST.md](./BUILDANDTEST.md)
23
22
24
-
[Maven](http://maven.apache.org/)
23
+
A quick overview follows:
25
24
26
-
## Installation Steps
27
-
1. Create a directory structure hereafter referred to as [CODEGEN]
28
-
```
29
-
mkdir -p [CODEGEN]
30
-
```
31
-
2. Fork and clone the generator
32
-
Fork a copy from `https://github.com/REGnosys/rune-python-generator` ([MYREPO])
More build and testing instructions can be found in [BUILDANDTEST.md](./BUILDANDTEST.md)
45
33
46
34
## Contributing
47
35
For any questions, bugs or feature requests please open an [issue](https://github.com/regnosys/rune-python-generator/issues)
@@ -61,14 +49,14 @@ Use this script to generated the Python version of CDM
61
49
```sh
62
50
build/build_cdm.sh
63
51
```
64
-
The script will use the CDM from the master branch of the [FINOS Repo](https://github.com/finos/common-domain-model) and generate a wheel in the project directory `target/python-cdm`
52
+
The script will use the CDM from the branch specified in the file (E.G. master) of the [FINOS Repo](https://github.com/finos/common-domain-model) and generate a wheel in the project directory `target/python-cdm`
65
53
66
54
To use a different version of CDM, update CDM_VERSION in the script.
0 commit comments