Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create a new package #4500

Closed
bartolsthoorn opened this issue Oct 13, 2013 · 2 comments
Closed

Unable to create a new package #4500

bartolsthoorn opened this issue Oct 13, 2013 · 2 comments

Comments

@bartolsthoorn
Copy link
Contributor

Hi, I'm running julia version 0.2.0-prerelease+4014 and I'm unable to create a new package. The docs still suggest Pkg1 (even the dev docs):

julia> Pkg1
ERROR: Pkg1 not defined

I also tried the following:

julia> Pkg.new
ERROR: new not defined
julia> Pkg.generate("MyPackageName")
ERROR: no method generate(ASCIIString,)

So how do I create a new package?

@simonster
Copy link
Member

Pkg.generate("MyPackageName", "MIT") or Pkg.generate("MyPackageName", "BSD"). But this should definitely be updated in the docs.

StefanKarpinski added a commit that referenced this issue Oct 13, 2013
Update Pkg1 to Pkg.generate in docs solves #4500
@StefanKarpinski
Copy link
Sponsor Member

Thanks for the fix. I apologize for the out-of-sync documentation – I'm in the middle of a doc rewrite for the new Pkg that's not quite ready yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants