tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

ktlint.yml (2039B)


      1 # This Source Code Form is subject to the terms of the Mozilla Public
      2 # License, v. 2.0. If a copy of the MPL was not distributed with this
      3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      4 ---
      5 task-defaults:
      6    description: 'Run ktlint over all modules'
      7    run-on-repo-type: [hg]
      8    run:
      9        using: gradlew
     10        gradlew: ['ktlint']
     11    attributes:
     12        code-review: true
     13    always-target: true
     14    fetches:
     15        toolchain:
     16            - android-sdk-linux
     17            - linux64-embedded-uniffi-bindgen
     18            - linux64-nimbus-fml
     19            - android-gradle-dependencies
     20            - linux64-jdk-repack
     21    platform: 'lint/opt'
     22    treeherder:
     23        kind: test
     24        tier: 1
     25    worker-type: b-linux
     26    worker:
     27        docker-image: {in-tree: lint}
     28        max-run-time: 1200
     29    when:
     30        files-changed:
     31            - "mobile/android/android-components/**"
     32 
     33 android-components:
     34    run:
     35        pre-gradlew:
     36            - ["cd", "mobile/android/android-components"]
     37    treeherder:
     38        symbol: ktlint(AC)
     39    worker:
     40        artifacts:
     41            - name: public/reports
     42              path: /builds/worker/checkouts/gecko/mobile/android/android-components/build/reports
     43              type: directory
     44 
     45 focus:
     46    when:
     47        files-changed:
     48            - "mobile/android/focus-android/**"
     49    run:
     50        pre-gradlew:
     51            - ["cd", "mobile/android/focus-android"]
     52    treeherder:
     53        symbol: ktlint(focus)
     54    worker:
     55        artifacts:
     56            - name: public/reports
     57              path: /builds/worker/checkouts/gecko/mobile/android/focus-android/build/reports
     58              type: directory
     59 
     60 fenix:
     61    when:
     62        files-changed:
     63            - "mobile/android/fenix/**"
     64    run:
     65        pre-gradlew:
     66            - ["cd", "mobile/android/fenix"]
     67    treeherder:
     68        symbol: ktlint(fenix)
     69    worker:
     70        artifacts:
     71            - name: public/reports
     72              path: /builds/worker/checkouts/gecko/mobile/android/fenix/build/reports
     73              type: directory