mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-26 03:44:45 +00:00
Set up documentation + lint (#121)
- remove some automatically generated stuff not should even be in repository - set up lint + Documents.jl in same way it is defined in freshly started projects - add lint + doctest to after_success so that build pass, these needs to be fixed later - build is failing on nightly (0.7) but it's ok for release (0.5.2) - Documenter.jl supports doctests, so this closes least #23 - build system is now on Travis-CI completely, so this closes also #68
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# This file is a part of JuliaFEM.
|
||||
# License is MIT: see https://github.com/JuliaFEM/JuliaFEM.jl/blob/master/LICENSE.md
|
||||
|
||||
using Lint
|
||||
using Base.Test
|
||||
|
||||
results = lintpkg("JuliaFEM")
|
||||
if !isempty(results)
|
||||
info("Lint.jl is a tool that uses static analysis to assist in the development process by detecting common bugs and potential issues.")
|
||||
info("For this package, Lint.jl report is following:")
|
||||
display(results)
|
||||
info("For more information, see https://lintjl.readthedocs.io/en/stable/")
|
||||
warn("Package syntax test has failed.")
|
||||
@test isempty(results)
|
||||
else
|
||||
info("Lint.jl: syntax check pass.")
|
||||
end
|
||||
Reference in New Issue
Block a user