Skip to content

Commit

Permalink
Add minimal example
Browse files Browse the repository at this point in the history
  • Loading branch information
lyashevska committed Jul 3, 2024
1 parent 8cb70c2 commit d58fb2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion template/src/{{ PackageName }}.jl.jinja
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
module {{ PackageName }}

# Write your package code here.
# A simple function to print "Hello, World!"
function hello_world()
println("Hello, World!")
end

end
2 changes: 1 addition & 1 deletion template/test/runtests.jl.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ using {{ PackageName }}
using Test

@testset "{{ PackageName }}.jl" begin
# Write your tests here.
@test {{ PackageName }}.hello_world() == "Hello, World!"
end

0 comments on commit d58fb2a

Please sign in to comment.