Skip to content

Instantly share code, notes, and snippets.

@Ismael-VC
Created July 8, 2015 02:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ismael-VC/16e02214cd39add59dba to your computer and use it in GitHub Desktop.
Save Ismael-VC/16e02214cd39add59dba to your computer and use it in GitHub Desktop.
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