Skip to content

Commit ab2e40a

Browse files
committed
Files generated by PkgTemplates
1 parent 256268a commit ab2e40a

File tree

13 files changed

+292
-0
lines changed

13 files changed

+292
-0
lines changed

.github/workflows/CI.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- master
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.0'
22+
- '1.8'
23+
- 'nightly'
24+
os:
25+
- ubuntu-latest
26+
arch:
27+
- x64
28+
steps:
29+
- uses: actions/checkout@v2
30+
- uses: julia-actions/setup-julia@v1
31+
with:
32+
version: ${{ matrix.version }}
33+
arch: ${{ matrix.arch }}
34+
- uses: julia-actions/cache@v1
35+
- uses: julia-actions/julia-buildpkg@v1
36+
- uses: julia-actions/julia-runtest@v1
37+
- uses: julia-actions/julia-processcoverage@v1
38+
- uses: codecov/codecov-action@v2
39+
with:
40+
files: lcov.info
41+
docs:
42+
name: Documentation
43+
runs-on: ubuntu-latest
44+
permissions:
45+
contents: write
46+
steps:
47+
- uses: actions/checkout@v2
48+
- uses: julia-actions/setup-julia@v1
49+
with:
50+
version: '1'
51+
- uses: julia-actions/julia-buildpkg@v1
52+
- uses: julia-actions/julia-docdeploy@v1
53+
env:
54+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55+
- run: |
56+
julia --project=docs -e '
57+
using Documenter: DocMeta, doctest
58+
using Multibody
59+
DocMeta.setdocmeta!(Multibody, :DocTestSetup, :(using Multibody); recursive=true)
60+
doctest(Multibody)'

.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 Yingbo Ma <[email protected]> and contributors
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: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name = "Multibody"
2+
uuid = "e1cad5d1-98ef-44f9-a79a-9ca4547f95b9"
3+
authors = ["Yingbo Ma <[email protected]> and contributors"]
4+
version = "0.1.0"
5+
6+
[compat]
7+
julia = "1"
8+
9+
[extras]
10+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
11+
12+
[targets]
13+
test = ["Test"]

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Multibody
2+
3+
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://YingboMa.github.io/Multibody.jl/stable/)
4+
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://YingboMa.github.io/Multibody.jl/dev/)
5+
[![Build Status](https://github.com/YingboMa/Multibody.jl/actions/workflows/CI.yml/badge.svg?branch=master)](https://github.com/YingboMa/Multibody.jl/actions/workflows/CI.yml?query=branch%3Amaster)
6+
[![Coverage](https://codecov.io/gh/YingboMa/Multibody.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/YingboMa/Multibody.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.3-pre"
4+
manifest_format = "2.0"
5+
project_hash = "08db35edfb511b99908926d30514336745e2da47"
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.Dates]]
16+
deps = ["Printf"]
17+
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"
18+
19+
[[deps.DocStringExtensions]]
20+
deps = ["LibGit2"]
21+
git-tree-sha1 = "c36550cb29cbe373e95b3f40486b9a4148f89ffd"
22+
uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
23+
version = "0.9.2"
24+
25+
[[deps.Documenter]]
26+
deps = ["ANSIColoredPrinters", "Base64", "Dates", "DocStringExtensions", "IOCapture", "InteractiveUtils", "JSON", "LibGit2", "Logging", "Markdown", "REPL", "Test", "Unicode"]
27+
git-tree-sha1 = "6030186b00a38e9d0434518627426570aac2ef95"
28+
uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
29+
version = "0.27.23"
30+
31+
[[deps.IOCapture]]
32+
deps = ["Logging", "Random"]
33+
git-tree-sha1 = "f7be53659ab06ddc986428d3a9dcc95f6fa6705a"
34+
uuid = "b5f81e59-6552-4d32-b1f0-c071b021bf89"
35+
version = "0.2.2"
36+
37+
[[deps.InteractiveUtils]]
38+
deps = ["Markdown"]
39+
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
40+
41+
[[deps.JSON]]
42+
deps = ["Dates", "Mmap", "Parsers", "Unicode"]
43+
git-tree-sha1 = "3c837543ddb02250ef42f4738347454f95079d4e"
44+
uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
45+
version = "0.21.3"
46+
47+
[[deps.LibGit2]]
48+
deps = ["Base64", "NetworkOptions", "Printf", "SHA"]
49+
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433"
50+
51+
[[deps.Logging]]
52+
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
53+
54+
[[deps.Markdown]]
55+
deps = ["Base64"]
56+
uuid = "d6f4376e-aef5-505a-96c1-9c027394607a"
57+
58+
[[deps.Mmap]]
59+
uuid = "a63ad114-7e13-5084-954f-fe012c677804"
60+
61+
[[deps.Multibody]]
62+
path = ".."
63+
uuid = "e1cad5d1-98ef-44f9-a79a-9ca4547f95b9"
64+
version = "0.1.0"
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 = "6c01a9b494f6d2a9fc180a08b182fcb06f0958a0"
73+
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
74+
version = "2.4.2"
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+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3+
Multibody = "e1cad5d1-98ef-44f9-a79a-9ca4547f95b9"

docs/make.jl

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

docs/src/index.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
```@meta
2+
CurrentModule = Multibody
3+
```
4+
5+
# Multibody
6+
7+
Documentation for [Multibody](https://github.com/YingboMa/Multibody.jl).
8+
9+
```@index
10+
```
11+
12+
```@autodocs
13+
Modules = [Multibody]
14+
```

src/Multibody.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module Multibody
2+
3+
# Write your package code here.
4+
5+
end

test/runtests.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
using Multibody
2+
using Test
3+
4+
@testset "Multibody.jl" begin
5+
# Write your tests here.
6+
end

0 commit comments

Comments
 (0)