Skip to content

Commit 436ed26

Browse files
committed
chore: initial commit
0 parents  commit 436ed26

File tree

14 files changed

+316
-0
lines changed

14 files changed

+316
-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+
- pull_request
5+
jobs:
6+
test:
7+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
version:
13+
- '1.6'
14+
- 'nightly'
15+
os:
16+
- ubuntu-latest
17+
arch:
18+
- x64
19+
steps:
20+
- uses: actions/checkout@v2
21+
- uses: julia-actions/setup-julia@v1
22+
with:
23+
version: ${{ matrix.version }}
24+
arch: ${{ matrix.arch }}
25+
- uses: actions/cache@v1
26+
env:
27+
cache-name: cache-artifacts
28+
with:
29+
path: ~/.julia/artifacts
30+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
31+
restore-keys: |
32+
${{ runner.os }}-test-${{ env.cache-name }}-
33+
${{ runner.os }}-test-
34+
${{ runner.os }}-
35+
- uses: julia-actions/julia-buildpkg@v1
36+
- uses: julia-actions/julia-runtest@v1
37+
docs:
38+
name: Documentation
39+
runs-on: ubuntu-latest
40+
steps:
41+
- uses: actions/checkout@v2
42+
- uses: julia-actions/setup-julia@v1
43+
with:
44+
version: '1'
45+
- run: |
46+
julia --project=docs -e '
47+
using Pkg
48+
Pkg.develop(PackageSpec(path=pwd()))
49+
Pkg.instantiate()'
50+
- run: |
51+
julia --project=docs -e '
52+
using Documenter: DocMeta, doctest
53+
using LockPatternComplexity
54+
DocMeta.setdocmeta!(LockPatternComplexity, :DocTestSetup, :(using LockPatternComplexity); recursive=true)
55+
doctest(LockPatternComplexity)'
56+
- run: julia --project=docs docs/make.jl
57+
env:
58+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

.github/workflows/Release.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
release:
10+
name: Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
- name: Semantic Release
16+
uses: cycjimmy/semantic-release-action@v2
17+
env:
18+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
with:
20+
semantic_version: 17.1.1
21+
extra_plugins: |
22+
@semantic-release/changelog
23+
@semantic-release/git
24+
@google/semantic-release-replace-plugin
25+
- name: Notify JuliaRegistrator of new release
26+
uses: peter-evans/commit-comment@v1
27+
with:
28+
body: '@JuliaRegistrator register branch=master'

.releaserc

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"branches": ["master"],
3+
"plugins": [
4+
"@semantic-release/commit-analyzer",
5+
"@semantic-release/release-notes-generator",
6+
[
7+
"@google/semantic-release-replace-plugin", {
8+
"replacements": [
9+
{
10+
"files": ["Project.toml"],
11+
"from": "version = \".*\"",
12+
"to": "version = \"${nextRelease.version}\"",
13+
"results": [
14+
{
15+
"file": "Project.toml",
16+
"hasChanged": true,
17+
"numMatches": 1,
18+
"numReplacements": 1
19+
}
20+
],
21+
"countMatches": true
22+
}
23+
]
24+
}
25+
],
26+
[
27+
"@semantic-release/changelog", {
28+
"changelogTitle": "# Changelog"
29+
}
30+
],
31+
[
32+
"@semantic-release/git", {
33+
"assets": ["CHANGELOG.md", "Project.toml"],
34+
"message": "chore: release v${nextRelease.version}\n\n${nextRelease.notes}"
35+
}
36+
],
37+
"@semantic-release/github"
38+
],
39+
"repositoryUrl": "git@github.com:jaantollander/LockPatternComplexity.jl.git"
40+
}

CHANGELOG.md

Whitespace-only changes.

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) 2021 Jaan Tollander de Balsch
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.

Manifest.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# This file is machine-generated - editing it directly is not advised
2+

Project.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name = "LockPatternComplexity"
2+
uuid = "543c5b92-ecbf-4ab6-ab9f-9ddc949b5521"
3+
authors = ["Jaan Tollander de Balsch"]
4+
version = "0.0.0"
5+
6+
[compat]
7+
julia = "1.6"
8+
9+
[extras]
10+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
11+
12+
[targets]
13+
test = ["Test"]

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# LockPatternComplexity
2+
3+
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://jaantollander.github.io/LockPatternComplexity.jl/stable)
4+
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://jaantollander.github.io/LockPatternComplexity.jl/dev)
5+
[![Build Status](https://github.com/jaantollander/LockPatternComplexity.jl/workflows/CI/badge.svg)](https://github.com/jaantollander/LockPatternComplexity.jl/actions)

docs/Manifest.toml

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

0 commit comments

Comments
 (0)