Skip to content

Commit

Permalink
Merge pull request #43 from jczaja/jczaja/messages
Browse files Browse the repository at this point in the history
Windows builds in CI
  • Loading branch information
jczaja authored Jun 8, 2022
2 parents ba30a68 + 3706c29 commit b5f702e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/building.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,21 @@ jobs:
command: fmt
args: --all -- --check

build_windows:
name: etradeTaxReturnHelper windows build
runs-on: windows-2019
strategy:
matrix:
toolchain:
- stable
steps:
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- name: Build
run: cargo build --verbose

build_and_test:
name: e-trade-tax-return-pl-helper building
name: etradeTaxReturnHelper building
runs-on: ubuntu-latest
steps:
- name: Install system dependencies
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fn create_cmd_line_pattern<'a, 'b>(myapp: App<'a, 'b>) -> App<'a, 'b> {
)
.arg(
Arg::with_name("financial documents")
.help("Brokerage statement PDFs, Trade confirmation PDFs and Gain & Losses xlsx documents")
.help("Brokerage statement PDFs and Gain & Losses xlsx documents\n\nBrokerege statements can be downloaded from:\n\thttps://edoc.etrade.com/e/t/onlinedocs/docsearch?doc_type=stmt\n\nGain&Losses documents can be downloaded from:\n\thttps://us.etrade.com/etx/sp/stockplan#/myAccount/gainsLosses\n")
.multiple(true)
.required(true),
)
Expand Down Expand Up @@ -48,7 +48,7 @@ fn main() {

let pdfnames = matches
.values_of("financial documents")
.expect_and_log("error getting brokarage statements pdfs names");
.expect_and_log("error getting brokarage statements pdfs names.\n\nBrokerege statements can be downloaded from:\n\nhttps://edoc.etrade.com/e/t/onlinedocs/docsearch?doc_type=stmt\n\n");

let (gross_div, tax_div, gross_sold, cost_sold) = run_taxation(&rd, pdfnames).unwrap();

Expand Down

0 comments on commit b5f702e

Please sign in to comment.