~janbaudisch/dart-builds

dart-builds/.builds/lint.yml -rw-r--r-- 535 bytes
c1e46708Jan Baudisch initial commit 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
image: archlinux
packages:
  - unzip
source:
  - https://git.sr.ht/~janbaudisch/dart-builds
tasks:
  - setup: |
      curl -s https://paste.sr.ht/blob/16c61abf04351fc9c591e892ff8328b3de097427 | sh -s -- stable
      export PATH=$HOME/.dart-sdk/bin:$PATH
      cd dart-builds
      pub get
  - format: |
      export PATH=$HOME/.dart-sdk/bin:$PATH
      cd dart-builds
      dartfmt --set-exit-if-changed .
  - lint: |
      export PATH=$HOME/.dart-sdk/bin:$PATH
      cd dart-builds
      dartanalyzer --fatal-infos --fatal-warnings .