mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-21 18:33:36 +00:00
8a92b45882
- 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
18 lines
619 B
Julia
18 lines
619 B
Julia
# 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
|