-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- related issues, e.g. "will close #123" --> ## Description <!-- describe in a few words the changes --> This adds a registry for nupm packages following a format proposed in #56. I'm making a separate PR to allow testing #56 before merging it.
- Loading branch information
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Registry is a NUON file that tells nupm where to look for packages | ||
# | ||
# Currently, these package types are supported: | ||
# * git ..... package is an online git repository | ||
# * local ... package is on a local filesystem | ||
# | ||
# The package type defines the columns of the registry record. Each column holds | ||
# holds a table of packages. | ||
# | ||
# Git packages accept the following columns: | ||
# * name ....... name of the package | ||
# * version .... version of the package | ||
# * url ........ Git URL of the package | ||
# * revision ... Git revision to check out when installing the package (commit | ||
# hash, version, branch name, ...) | ||
# * path ....... Path relative to the repository root where to look for nupm.nuon | ||
# | ||
# Local packages accept the following columns: | ||
# * name ....... name of the package | ||
# * version .... version of the package | ||
# * path ....... Path where to look for nupm.nuon. It can be absolute, or | ||
# relative. If relative, then relative to the registry file. | ||
# | ||
# One registry can contain packages with the same name, but they must be of | ||
# different version. | ||
|
||
{ | ||
git: [ | ||
[name version url revision path]; | ||
[ | ||
nu-git-manager | ||
0.5.0 | ||
https://github.com/amtoine/nu-git-manager.git | ||
0.5.0 | ||
pkgs/nu-git-manager | ||
] | ||
|
||
[ | ||
nu-git-manager-sugar | ||
0.5.0 | ||
https://github.com/amtoine/nu-git-manager.git | ||
0.5.0 | ||
pkgs/nu-git-manager-sugar | ||
] | ||
] | ||
} |