Skip to content

Commit 10cacbe

Browse files
committed
how to use
1 parent 5de290c commit 10cacbe

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.gradle
2+
/out/
23
/build/
34

45
# Ignore Gradle GUI config
@@ -12,3 +13,5 @@ gradle-app.setting
1213

1314
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
1415
# gradle/wrapper/gradle-wrapper.properties
16+
17+
.idea

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,19 @@ Starting 2019, some Crédit Agricole subsidiaries Websites were updated to a new
66

77
* Crédit Agricole Ile de France
88
* BforBank (from what I can read, not tested)
9+
10+
## How to Build
11+
12+
```bash
13+
./gradlew build
14+
```
15+
16+
## How to use
17+
18+
Instead of directly using `CAYYYYMMDD_NUM.ofx` file downloaded from the CA Website, save it locally and fix it.
19+
20+
```bash
21+
java -jar build/libs/credit-agricole-ofx-fix-1.0-SNAPSHOT.jar -f ~/Downloads/CAYYYMMDD_NUM.ofx -o fixed.ofx
22+
```
23+
24+
Then use the fixed version (`fixed.ofx`).

build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,11 @@ dependencies {
1515
compile 'com.webcohesion.ofx4j:ofx4j:1.13'
1616
compile group: 'commons-cli', name: 'commons-cli', version: '1.3.1'
1717
}
18+
19+
jar {
20+
manifest.attributes("Main-Class": "FixCA")
21+
22+
from {
23+
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
24+
}
25+
}

0 commit comments

Comments
 (0)