Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tools:cpm [2017-02-01 13:47] mhtools:cpm [2017-02-06 14:23] – [Quick Start] mh
Line 15: Line 15:
 about these details. about these details.
  
-Currentlythere is no support for automatically uploading +CPM also supports //semantic versioning//i.e., it is able to check 
-new packages. However, if you have developed an interesting package, +whether a new minor version of a package is consistent 
-please write to ''packages (AT) curry-language.org'' in order to make +(w.r.t. its API and behavior) with a previous version of 
-it publish to other users.+the same package. 
 + 
 ===== Installing the Curry Package Manager ===== ===== Installing the Curry Package Manager =====
  
Line 42: Line 44:
     > cpm update     > cpm update
  
-You can show a short list of all packages in this index by+Afterwards, you can show a short list of all packages in this index by
  
     > cpm list     > cpm list
Line 50: Line 52:
     > cpm info PACKAGE     > cpm info PACKAGE
  
-can be used to see more information about a package.+can be used to show more information about a package.
  
 In order to use a package in your Curry program which you intend In order to use a package in your Curry program which you intend
Line 84: Line 86:
     > cpm curry     > cpm curry
  
-and you will be able to load the modules of the used packages.+and you will be able to load the modules of the current package 
 +as well as all dependent packages.
 In particular, the source directory ''src'' is added to your path In particular, the source directory ''src'' is added to your path
 so that you can directly load any program you have stored so that you can directly load any program you have stored
 in this directory. in this directory.
  
-For further information, look into manual of CPM.+===== Manual ===== 
 + 
 +For further information, look into the {{tools:cpm:manual.pdf | manual of CPM}}. 
 + 
 +===== Uploading and Publishing Packages ===== 
 + 
 +Currently, there is no support for automatically uploading 
 +and publishing new packages. 
 +However, if you have developed some package that might be of 
 +interest to other Curry users, please send the package 
 +as a zip file, or just the package description file 
 +''package.json'' (if the package is already in a publicly 
 +available git archive) to 
 + 
 +    packages (AT) curry-language.org 
 + 
 +in order to make it publicly available. 
  
/srv/dokuwiki/currywiki/data/pages/tools/cpm.txt · Last modified: 2020-03-14 18:06 by mh
Back to top
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0