Skip to content

Commit

Permalink
how to use
Browse files Browse the repository at this point in the history
  • Loading branch information
cjolif committed Jan 27, 2019
1 parent 5de290c commit 10cacbe
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.gradle
/out/
/build/

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

# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
# gradle/wrapper/gradle-wrapper.properties

.idea
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,19 @@ Starting 2019, some Crédit Agricole subsidiaries Websites were updated to a new

* Crédit Agricole Ile de France
* BforBank (from what I can read, not tested)

## How to Build

```bash
./gradlew build
```

## How to use

Instead of directly using `CAYYYYMMDD_NUM.ofx` file downloaded from the CA Website, save it locally and fix it.

```bash
java -jar build/libs/credit-agricole-ofx-fix-1.0-SNAPSHOT.jar -f ~/Downloads/CAYYYMMDD_NUM.ofx -o fixed.ofx
```

Then use the fixed version (`fixed.ofx`).
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,11 @@ dependencies {
compile 'com.webcohesion.ofx4j:ofx4j:1.13'
compile group: 'commons-cli', name: 'commons-cli', version: '1.3.1'
}

jar {
manifest.attributes("Main-Class": "FixCA")

from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}

0 comments on commit 10cacbe

Please sign in to comment.