Rust-DAY1

Jan 08, 2020

sun

sun

    name: CI

    on: [push]

    jobs:
      build:

        runs-on: ubuntu-latest

        steps:
        - uses: actions/checkout@v1
        - name: Build
          run: cargo build --verbose
        - name: Run tests
          run: cargo test --verbose
        - name: Check Lint
          run: cargo fmt --all -- --check --verbose

개발 환경 구성하기

clap

    [dependencies]
    clap = "~2.33.0"

Custom Type 정의하기

    type HostFilePath = String;
    type Input = String;

Reference

아직 모르는것 :


#rust  #100DaysOfRust 

Related Post 👇

  • Rust Cargo