Skip to content

Commit f0be8f8

Browse files
committed
Files generated by PkgTemplates
PkgTemplates version: 0.7.29
1 parent 9628e2c commit f0be8f8

File tree

15 files changed

+321
-0
lines changed

15 files changed

+321
-0
lines changed

.github/workflows/CI.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
tags: ['*']
7+
pull_request:
8+
concurrency:
9+
# Skip intermediate builds: always.
10+
# Cancel intermediate builds: only if it is a pull request build.
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
13+
jobs:
14+
test:
15+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
16+
runs-on: ${{ matrix.os }}
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
version:
21+
- '1.6'
22+
- 'nightly'
23+
os:
24+
- ubuntu-latest
25+
arch:
26+
- x64
27+
steps:
28+
- uses: actions/checkout@v2
29+
- uses: julia-actions/setup-julia@v1
30+
with:
31+
version: ${{ matrix.version }}
32+
arch: ${{ matrix.arch }}
33+
- uses: julia-actions/cache@v1
34+
- uses: julia-actions/julia-buildpkg@v1
35+
- uses: julia-actions/julia-runtest@v1
36+
- uses: julia-actions/julia-processcoverage@v1
37+
- uses: codecov/codecov-action@v2
38+
with:
39+
files: lcov.info
40+
docs:
41+
name: Documentation
42+
runs-on: ubuntu-latest
43+
permissions:
44+
contents: write
45+
steps:
46+
- uses: actions/checkout@v2
47+
- uses: julia-actions/setup-julia@v1
48+
with:
49+
version: '1'
50+
- uses: julia-actions/julia-buildpkg@v1
51+
- uses: julia-actions/julia-docdeploy@v1
52+
env:
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54+
- run: |
55+
julia --project=docs -e '
56+
using Documenter: DocMeta, doctest
57+
using ColorQuantization
58+
DocMeta.setdocmeta!(ColorQuantization, :DocTestSetup, :(using ColorQuantization); recursive=true)
59+
doctest(ColorQuantization)'

.github/workflows/CompatHelper.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: CompatHelper
2+
on:
3+
schedule:
4+
- cron: 0 0 * * *
5+
workflow_dispatch:
6+
jobs:
7+
CompatHelper:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Pkg.add("CompatHelper")
11+
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
12+
- name: CompatHelper.main()
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
16+
run: julia -e 'using CompatHelper; CompatHelper.main()'

.github/workflows/TagBot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: TagBot
2+
on:
3+
issue_comment:
4+
types:
5+
- created
6+
workflow_dispatch:
7+
jobs:
8+
TagBot:
9+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: JuliaRegistries/TagBot@v1
13+
with:
14+
token: ${{ secrets.GITHUB_TOKEN }}
15+
ssh: ${{ secrets.DOCUMENTER_KEY }}

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*.jl.*.cov
2+
*.jl.cov
3+
*.jl.mem
4+
/Manifest.toml
5+
/docs/build/

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 Adrian Hill <[email protected]>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

Project.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name = "ColorQuantization"
2+
uuid = "652893fb-f6a0-4a00-a44a-7fb8fac69e01"
3+
authors = ["Adrian Hill <[email protected]>"]
4+
version = "0.1.0"
5+
6+
[compat]
7+
julia = "1.6"

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# ColorQuantization
2+
3+
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://adrhill.github.io/ColorQuantization.jl/stable/)
4+
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://adrhill.github.io/ColorQuantization.jl/dev/)
5+
[![Build Status](https://github.com/adrhill/ColorQuantization.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/adrhill/ColorQuantization.jl/actions/workflows/CI.yml?query=branch%3Amain)
6+
[![Coverage](https://codecov.io/gh/adrhill/ColorQuantization.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/adrhill/ColorQuantization.jl)

docs/Manifest.toml

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
# This file is machine-generated - editing it directly is not advised
2+
3+
julia_version = "1.8.0"
4+
manifest_format = "2.0"
5+
project_hash = "d5193db26adb94b9c869ac779974c9cd911db9f1"
6+
7+
[[deps.ANSIColoredPrinters]]
8+
git-tree-sha1 = "574baf8110975760d391c710b6341da1afa48d8c"
9+
uuid = "a4c015fc-c6ff-483c-b24f-f7ea428134e9"
10+
version = "0.0.1"
11+
12+
[[deps.Base64]]
13+
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
14+
15+
[[deps.ColorQuantization]]
16+
path = ".."
17+
uuid = "652893fb-f6a0-4a00-a44a-7fb8fac69e01"
18+
version = "0.1.0"
19+
20+
[[deps.Dates]]
21+
deps = ["Printf"]
22+
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"
23+
24+
[[deps.DocStringExtensions]]
25+
deps = ["LibGit2"]
26+
git-tree-sha1 = "5158c2b41018c5f7eb1470d558127ac274eca0c9"
27+
uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
28+
version = "0.9.1"
29+
30+
[[deps.Documenter]]
31+
deps = ["ANSIColoredPrinters", "Base64", "Dates", "DocStringExtensions", "IOCapture", "InteractiveUtils", "JSON", "LibGit2", "Logging", "Markdown", "REPL", "Test", "Unicode"]
32+
git-tree-sha1 = "6030186b00a38e9d0434518627426570aac2ef95"
33+
uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
34+
version = "0.27.23"
35+
36+
[[deps.IOCapture]]
37+
deps = ["Logging", "Random"]
38+
git-tree-sha1 = "f7be53659ab06ddc986428d3a9dcc95f6fa6705a"
39+
uuid = "b5f81e59-6552-4d32-b1f0-c071b021bf89"
40+
version = "0.2.2"
41+
42+
[[deps.InteractiveUtils]]
43+
deps = ["Markdown"]
44+
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
45+
46+
[[deps.JSON]]
47+
deps = ["Dates", "Mmap", "Parsers", "Unicode"]
48+
git-tree-sha1 = "3c837543ddb02250ef42f4738347454f95079d4e"
49+
uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
50+
version = "0.21.3"
51+
52+
[[deps.LibGit2]]
53+
deps = ["Base64", "NetworkOptions", "Printf", "SHA"]
54+
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433"
55+
56+
[[deps.Logging]]
57+
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
58+
59+
[[deps.Markdown]]
60+
deps = ["Base64"]
61+
uuid = "d6f4376e-aef5-505a-96c1-9c027394607a"
62+
63+
[[deps.Mmap]]
64+
uuid = "a63ad114-7e13-5084-954f-fe012c677804"
65+
66+
[[deps.NetworkOptions]]
67+
uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908"
68+
version = "1.2.0"
69+
70+
[[deps.Parsers]]
71+
deps = ["Dates"]
72+
git-tree-sha1 = "3d5bf43e3e8b412656404ed9466f1dcbf7c50269"
73+
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
74+
version = "2.4.0"
75+
76+
[[deps.Printf]]
77+
deps = ["Unicode"]
78+
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
79+
80+
[[deps.REPL]]
81+
deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"]
82+
uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
83+
84+
[[deps.Random]]
85+
deps = ["SHA", "Serialization"]
86+
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
87+
88+
[[deps.SHA]]
89+
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"
90+
version = "0.7.0"
91+
92+
[[deps.Serialization]]
93+
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
94+
95+
[[deps.Sockets]]
96+
uuid = "6462fe0b-24de-5631-8697-dd941f90decc"
97+
98+
[[deps.Test]]
99+
deps = ["InteractiveUtils", "Logging", "Random", "Serialization"]
100+
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
101+
102+
[[deps.Unicode]]
103+
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"

docs/Project.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[deps]
2+
ColorQuantization = "652893fb-f6a0-4a00-a44a-7fb8fac69e01"
3+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"

docs/make.jl

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
using ColorQuantization
2+
using Documenter
3+
4+
DocMeta.setdocmeta!(ColorQuantization, :DocTestSetup, :(using ColorQuantization); recursive=true)
5+
6+
makedocs(;
7+
modules=[ColorQuantization],
8+
authors="Adrian Hill <[email protected]>",
9+
repo="https://github.com/adrhill/ColorQuantization.jl/blob/{commit}{path}#{line}",
10+
sitename="ColorQuantization.jl",
11+
format=Documenter.HTML(;
12+
prettyurls=get(ENV, "CI", "false") == "true",
13+
canonical="https://adrhill.github.io/ColorQuantization.jl",
14+
edit_link="main",
15+
assets=String[],
16+
),
17+
pages=[
18+
"Home" => "index.md",
19+
],
20+
)
21+
22+
deploydocs(;
23+
repo="github.com/adrhill/ColorQuantization.jl",
24+
devbranch="main",
25+
)

0 commit comments

Comments
 (0)