├── .github ├── ISSUE_TEMPLATE │ ├── feature_request.md │ └── bug_report.md ├── workflows │ └── run-script.yaml └── PULL_REQUEST_TEMPLATE ├── LICENSE ├── scaffolded-script.kts └── README.md /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | --- 5 | 6 | ## ⚠️ Is your feature request related to a problem? Please describe 7 | 8 | 9 | ## 💡 Describe the solution you'd like 10 | 11 | 12 | ## 🤚 Do you want to develop this feature yourself? 13 | 14 | - [ ] Yes 15 | - [ ] No 16 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | --- 5 | 6 | ## 🐛 Describe the bug 7 | 8 | 9 | ## ⚠️ Current behavior 10 | 11 | 12 | ## ✅ Expected behavior 13 | 14 | 15 | ## 💣 Steps to reproduce 16 | 17 | 18 | ## 📷 Screenshots 19 | 20 | 21 | ## 📱 Tech info 22 | - Alfred Version: 23 | - OS: 24 | - Script version: 25 | -------------------------------------------------------------------------------- /.github/workflows/run-script.yaml: -------------------------------------------------------------------------------- 1 | name: Run Script 2 | 3 | on: 4 | push: 5 | branches: 6 | - 'master' 7 | pull_request: 8 | branches: 9 | - '*' 10 | 11 | jobs: 12 | gradle: 13 | defaults: 14 | run: 15 | shell: bash -i {0} 16 | runs-on: ubuntu-latest 17 | if: ${{ !contains(github.event.head_commit.message, 'ci skip') }} 18 | steps: 19 | - name: Checkout Repo 20 | uses: actions/checkout@v2 21 | with: 22 | submodules: true 23 | 24 | - name: Install sdkman 25 | run: curl -s "https://get.sdkman.io" | bash 26 | - name: Install kotlin 27 | run: sdk install kotlin 28 | - name: Install kscript 29 | run: sdk install kscript 30 | - name: Run script 31 | run: kscript scaffolded-script.kts 32 | - name: Bundle script 33 | run: kscript --package scaffolded-script.kts 34 | 35 | - uses: actions/upload-artifact@v1 36 | with: 37 | name: scaffolded-script 38 | path: ./scaffolded-script 39 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2020