This repository has been archived by the owner on Dec 18, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 224
"kpm pack --no-source" should nupkg the main project #378
Comments
|
@davidfowl Changing k to understand nupkgs sounds better because, in this case, main packages have the same structure as common packages. Consistency is always good 😄 |
@davidfowl , I am trying to make k understand nupkgs as we discussed above. Although I can get name, version and most other information from .nuspec file, the "loader" we specify in project.json is missing in .nuspec. Seems we have no way to preserve "loader" information in this approach, should I turn to the approach where we copy and paste project.json into main nupkg? |
Had a discussion with @lodejard and @davidfowl and made the following design:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
See #80
In an initial implementation #371 , if we do
kpm pack --no-source
, the sources of main project are still exported. In next step, we want to export main project as a nupkg as well.@lodejard @davidfowl , before we enable users to nupkg the main project, two points need to be clarified:
k run
. I guess we can have something likek --main ./packages/MainProject.4.0.0.0 run
?k run
cannot execute without project.json. Can I simply copy the project.json file to{PACK_OUTPUT_DIR}/packages/MainProject.4.0.0.0/project.json
?The text was updated successfully, but these errors were encountered: