Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Julia Pkg.generate function.
julia> Pkg.generate("TestPkg", "MIT")
INFO: Initializing TestPkg repo: /home/juser/.julia/v0.4/TestPkg
INFO: Generating LICENSE.md
INFO: Generating README.md
INFO: Generating src/TestPkg.jl
INFO: Generating test/runtests.jl
INFO: Generating .travis.yml
INFO: Generating .gitignore
INFO: Committing TestPkg generated files
shell> cat .julia/v0.4/TestPkg/.travis.yml
language: julia
os:
- linux
- osx
julia:
- release
- nightly
notifications:
email: false
# uncomment the following lines to override the default test script
#script:
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# - julia --check-bounds=yes -e 'Pkg.clone(pwd()); Pkg.build("TestPkg"); Pkg.test("TestPkg"; coverage=true)'
julia>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment