Skip to content

Commit acba471

Browse files
committed
First version of VPL
0 parents  commit acba471

12 files changed

Lines changed: 174 additions & 0 deletions

File tree

.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 }}

.travis.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Documentation: http://docs.travis-ci.com/user/languages/julia
2+
language: julia
3+
notifications:
4+
email: false
5+
julia:
6+
- 1.9
7+
- nightly
8+
os:
9+
- linux
10+
- windows
11+
arch:
12+
- x64
13+
cache:
14+
directories:
15+
- ~/.julia/artifacts
16+
jobs:
17+
fast_finish: true
18+
allow_failures:
19+
- julia: nightly
20+
after_success:
21+
- |
22+
julia -e '
23+
using Pkg
24+
Pkg.add("Coverage")
25+
using Coverage
26+
Codecov.submit(process_folder())'

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) 2023 Alejandro Morales Sierra <alejandro.moralessierra@wur.nl> 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: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name = "VPL"
2+
uuid = "b977ecfa-1b9a-418d-909d-4ebe565736ce"
3+
authors = ["Alejandro Morales Sierra <alejandro.moralessierra@wur.nl> and contributors"]
4+
version = "0.0.1"
5+
6+
[deps]
7+
PlantGeomPrimitives = "7eef3cc5-4580-4ff0-8f6f-933507db6664"
8+
PlantGeomTurtle = "7d6e2781-1c99-4c66-97ec-106669f3e96e"
9+
PlantGraphs = "615ad455-9aac-4340-9247-71ef610f781a"
10+
PlantRayTracer = "78485975-e4aa-407d-b3bb-ded5a4265d05"
11+
PlantViz = "358bd95d-d12c-439f-94b7-04b17e500c7f"
12+
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
13+
14+
[compat]
15+
PlantGeomPrimitives = "0.0.1"
16+
PlantGeomTurtle = "0.0.1"
17+
PlantGraphs = "0.0.1"
18+
PlantRayTracer = "0.0.1"
19+
PlantViz = "0.0.1"
20+
julia = "1.9"
21+
22+
[extras]
23+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
24+
25+
[targets]
26+
test = ["Test"]

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# VPL
2+
3+
[![Build Status](https://travis-ci.com/VirtualPlantLab/VPL.jl.svg?branch=master)](https://travis-ci.com/VirtualPlantLab/VPL.jl)
4+
[![Coverage](https://codecov.io/gh/VirtualPlantLab/VPL.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/VirtualPlantLab/VPL.jl)
5+
[![SciML Code Style](https://img.shields.io/static/v1?label=code%20style&message=SciML&color=9558b2&labelColor=389826)](https://github.com/SciML/SciMLStyle)
6+
[![ColPrac: Contributor's Guide on Collaborative Practices for Community Packages](https://img.shields.io/badge/ColPrac-Contributor's%20Guide-blueviolet)](https://github.com/SciML/ColPrac)
7+
[![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)
8+
9+
Main package in the VPL ecosystem.

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+
VPL = "b977ecfa-1b9a-418d-909d-4ebe565736ce"

docs/make.jl

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
using VPL
2+
using Documenter
3+
4+
DocMeta.setdocmeta!(VPL, :DocTestSetup, :(using VPL); recursive=true)
5+
6+
makedocs(;
7+
modules=[VPL],
8+
authors="Alejandro Morales Sierra <alejandro.moralessierra@wur.nl> and contributors",
9+
repo="https://github.com/AleMorales/VPL.jl/blob/{commit}{path}#{line}",
10+
sitename="VPL.jl",
11+
format=Documenter.HTML(;
12+
prettyurls=get(ENV, "CI", "false") == "true",
13+
edit_link="master",
14+
assets=String[],
15+
),
16+
pages=[
17+
"Home" => "index.md",
18+
],
19+
)

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 = VPL
3+
```
4+
5+
# VPL
6+
7+
Documentation for [VPL](https://github.com/AleMorales/VPL.jl).
8+
9+
```@index
10+
```
11+
12+
```@autodocs
13+
Modules = [VPL]
14+
```

src/VPL.jl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module VPL
2+
3+
using Reexport
4+
5+
# Load the VPL components
6+
@reexport using PlantGraphs
7+
@reexport using PlantGeomPrimitives
8+
@reexport using PlantGeomTurtle
9+
@reexport using PlantRayTracer
10+
@reexport using PlantViz
11+
12+
13+
end

0 commit comments

Comments
 (0)