Skip to content

Commit

Permalink
Merge branch 'master' of github.com:JuliaLang/julia
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Jan 4, 2015
2 parents fb342cb + dafa9c8 commit b92badc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions base/pkg/generate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ function package(
Generate.entrypoint(pkg,force=force)
Generate.tests(pkg,force=force)
Generate.travis(pkg,force=force)
Generate.gitignore(pkg,force=force)

msg = """
$pkg.jl $(isnew ? "generated" : "regenerated") files.
Expand Down Expand Up @@ -153,6 +154,15 @@ function travis(pkg::AbstractString; force::Bool=false)
end
end

function gitignore(pkg::AbstractString; force::Bool=false)
genfile(pkg,".gitignore",force) do io
print(io, """
*.jl.cov
*.jl.mem
""")
end
end

function entrypoint(pkg::AbstractString; force::Bool=false)
genfile(pkg,"src/$pkg.jl",force) do io
print(io, """
Expand Down

0 comments on commit b92badc

Please sign in to comment.