Skip to content
/ jura Public

an experimental package manager for Amber written in Amber.

License

Notifications You must be signed in to change notification settings

lens0021/jura

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jura

Jura is an experimental package manager for Amber.

Caution

Jura uses the symbolic links, so it shouldn't be functional on Windows.

Example

Create example.ab file with the following content:

import { file_globstar } from "github.com/lens0021/amber-snippets/main.ab"

echo trust file_globstar("**/*.ab")

The form of path following from is github.com/{repository_owner}/{repository}/{path_to_file}/{file}. (Currently, only the public repositories on github.com are supported)

And create Jura.toml file with the following content:

[dependencies]
"github.com/lens0021/amber-snippets" = "main"

Then, run the Jura

$ jura init
$ jura install

Now you can run your script.

amber run example.ab

Installation

Download the jura file to one of your $PATHs.

How?

Jura downloads the requested packages and creates symbolic links to them, so that Amber treats the symbolic linked files as ordinary amber files. So, the downloaded files and symbolic links in your working directory should be listed in your .gitignore file. You can do this with jura init

Build from source

jura install
amber build src/jura.ab jura

Jura is required to build Jura. Use the committed jura file.

About

an experimental package manager for Amber written in Amber.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Languages