Merge remote-tracking branch 'origin/dev' into HEAD

This commit is contained in:
Suzanne Dupéron 2019-10-11 16:59:45 -04:00
commit 5a58559edc
236 changed files with 11653 additions and 5602 deletions

6
.dockerignore Normal file
View File

@ -0,0 +1,6 @@
dist
_opam
_build
docker
gitlab-pages
Makefile

View File

@ -1,12 +1,27 @@
# TODO: remove this as submodules aren't used anymore. # TODO: remove this as submodules aren't used anymore.
variables: variables:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
build_binary_script: "./scripts/distribution/generic/build.sh"
package_binary_script: "./scripts/distribution/generic/package.sh"
stages: stages:
- build_docker - build_docker
- build_and_deploy_docker
- build_and_deploy_website
- test - test
- build_and_deploy_docker
- build_and_package_binaries
- build_and_deploy_website
.build_binary: &build_binary
stage: build_and_package_binaries
script:
- $build_binary_script "$target_os_family" "$target_os" "$target_os_version"
- $package_binary_script "$target_os_family" "$target_os" "$target_os_version"
artifacts:
paths:
- dist/package/**/*
only:
- master
- dev
.website_build: &website_build .website_build: &website_build
stage: build_and_deploy_website stage: build_and_deploy_website
@ -28,6 +43,9 @@ stages:
# build with odoc # build with odoc
- dune build @doc - dune build @doc
# copy .deb packages into website
- find dist -name \*.deb -exec sh -c 'cp {} gitlab-pages/website/static/deb/ligo_$(basename $(dirname {})).deb' \;
# npm # npm
- cd gitlab-pages/website - cd gitlab-pages/website
- npm install - npm install
@ -71,30 +89,12 @@ local-dune-job:
- scripts/build_ligo_local.sh - scripts/build_ligo_local.sh
- dune build @ligo-test - dune build @ligo-test
remote-repo-job:
<<: *before_script
stage: test
script:
# Add repository
- opam repository add ligo-repository https://gitlab.com/ligolang/ligo.git
- eval $(opam config env)
- opam install -y ligo
# Used in the IDE
#- opam install -y user-setup
#- opam install -y merlin
#- opam install -y ocp-indent
#- opam user-setup install
only:
- master
# TODO: uncomment this
# Run a docker build without publishing to the registry # Run a docker build without publishing to the registry
build-current-docker-image: build-current-docker-image:
stage: build_docker stage: build_docker
<<: *docker <<: *docker
script: script:
- docker build -t $LIGO_REGISTRY_IMAGE:next -f ./docker/Dockerfile . - sh scripts/build_docker_image.sh
- sh scripts/test_cli.sh - sh scripts/test_cli.sh
except: except:
- master - master
@ -106,13 +106,51 @@ build-and-publish-latest-docker-image:
stage: build_and_deploy_docker stage: build_and_deploy_docker
<<: *docker <<: *docker
script: script:
- docker build -t $LIGO_REGISTRY_IMAGE:next -f ./docker/Dockerfile . - sh scripts/build_docker_image.sh
- sh scripts/test_cli.sh - sh scripts/test_cli.sh
- docker login -u $LIGO_REGISTRY_USER -p $LIGO_REGISTRY_PASSWORD - docker login -u $LIGO_REGISTRY_USER -p $LIGO_REGISTRY_PASSWORD
- docker push $LIGO_REGISTRY_IMAGE:next - docker push $LIGO_REGISTRY_IMAGE:next
only: only:
- dev - dev
# It'd be a good idea to generate those jobs dynamically,
# based on desired targets
build-and-package-debian-9:
<<: *docker
stage: build_and_package_binaries
variables:
target_os_family: "debian"
target_os: "debian"
target_os_version: "9"
<<: *build_binary
build-and-package-debian-10:
<<: *docker
stage: build_and_package_binaries
variables:
target_os_family: "debian"
target_os: "debian"
target_os_version: "10"
<<: *build_binary
build-and-package-ubuntu-18-04:
<<: *docker
stage: build_and_package_binaries
variables:
target_os_family: "debian"
target_os: "ubuntu"
target_os_version: "18.04"
<<: *build_binary
build-and-package-ubuntu-19-04:
<<: *docker
stage: build_and_package_binaries
variables:
target_os_family: "debian"
target_os: "ubuntu"
target_os_version: "19.04"
<<: *build_binary
# Pages are deployed from both master & dev, be careful not to override 'next' # Pages are deployed from both master & dev, be careful not to override 'next'
# in case something gets merged into 'dev' while releasing. # in case something gets merged into 'dev' while releasing.
pages: pages:

View File

@ -13,8 +13,9 @@ build-deps:
export PATH="/usr/local/bin$${PATH:+:}$${PATH:-}" export PATH="/usr/local/bin$${PATH:+:}$${PATH:-}"
# Create opam dev switch locally for use with Ligo, add merlin/etc # Create opam dev switch locally for use with Ligo, add merlin/etc
if [ -n "`opam switch show | grep -P ".+/ligo"`" ]; if [ -n "`opam switch show | grep -P ".+/ligo"`" ];
then :; else scripts/setup_dev_switch.sh; then :; else scripts/setup_switch.sh;
fi fi
scripts/setup_repos.sh
eval $$(opam config env) eval $$(opam config env)
# Install OCaml build dependencies for Ligo # Install OCaml build dependencies for Ligo
scripts/install_vendors_deps.sh scripts/install_vendors_deps.sh

4
dist/.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore

View File

@ -0,0 +1,32 @@
ARG targetBuildImage
FROM ${targetBuildImage}
ARG version
RUN apt-get update -qq
RUN apt-get -y -qq install \
dput \
devscripts
RUN mkdir /package && mkdir /package/bin && mkdir /package/DEBIAN && mkdir /package/dist
# @TODO: make the binary path configurable
RUN cp /home/opam/.opam/4.07/bin/ligo /package/bin/ligo
# @TODO: inherit version (and other details) from the ligo opam package definition
# In our case we're using the version field to name our package accordingly,
# however this is most likely not ideal
# Also, the architecture field should not be 'all' but rather specific instead.
RUN echo "Package: ligo\n\
Version: $version\n\
Architecture: all\n\
Maintainer: info@ligolang.org\n\
Depends: libev-dev, perl, pkg-config, libgmp-dev, libhidapi-dev, m4, libcap-dev, bubblewrap, rsync\n\
Homepage: http://ligolang.org\n\
Description: LIGO is a statically typed high-level smart-contract language that compiles down to Michelson." >> /package/DEBIAN/control
RUN cd /package/dist && dpkg-deb --build /package .
# Test the package
# Optionally this could/should be done in a more pristine docker environment - in a separate image
RUN apt-get update -qq
RUN apt-get -y -f install "/package/dist/$(ls /package/dist)"
RUN ligo --help

View File

@ -1,5 +1,7 @@
# At the moment, this really means 4.07.1 ARG target
FROM ocaml/opam2:4.07 FROM ocaml/opam2:${target}
RUN opam switch 4.07 && eval $(opam env)
USER root USER root
@ -10,7 +12,6 @@ USER root
# because the currently checkout out version (from git) will be used # because the currently checkout out version (from git) will be used
# to build the image # to build the image
ADD . /ligo ADD . /ligo
# Set the current working directory to /ligo for # Set the current working directory to /ligo for
# the upcoming scripts # the upcoming scripts
WORKDIR /ligo WORKDIR /ligo
@ -18,10 +19,6 @@ WORKDIR /ligo
# Install required native dependencies # Install required native dependencies
RUN sh scripts/install_native_dependencies.sh RUN sh scripts/install_native_dependencies.sh
# Install OPAM
# TODO: or scripts/install_build_environment.sh ?
RUN sh scripts/install_opam.sh
# Add tezos repository # Add tezos repository
RUN sh scripts/setup_repos.sh RUN sh scripts/setup_repos.sh

View File

@ -1,4 +1,5 @@
**/.DS_Store **/.DS_Store
.DS_Store
node_modules node_modules

View File

@ -13,7 +13,7 @@ Contract below is effectively an empty contract, that takes a `unit` as a parame
<!--DOCUSAURUS_CODE_TABS--> <!--DOCUSAURUS_CODE_TABS-->
<!--Pascaligo--> <!--Pascaligo-->
```Pascal ```pascaligo
function main (const p : unit ; const s : unit) : (list(operation) * unit) is function main (const p : unit ; const s : unit) : (list(operation) * unit) is
block {skip} with ((nil : list(operation)), s) block {skip} with ((nil : list(operation)), s)
``` ```
@ -27,7 +27,7 @@ In the example below we have a simple counter contract, that can be either `Incr
<!--DOCUSAURUS_CODE_TABS--> <!--DOCUSAURUS_CODE_TABS-->
<!--Pascaligo--> <!--Pascaligo-->
```Pascal ```pascaligo
// variant defining pseudo multi-entrypoint actions // variant defining pseudo multi-entrypoint actions
type action is type action is
| Increment of int | Increment of int

View File

@ -9,7 +9,7 @@ Body of a function consists of two parts, the first part (**`block {}`** or **`b
<!--DOCUSAURUS_CODE_TABS--> <!--DOCUSAURUS_CODE_TABS-->
<!--Pascaligo--> <!--Pascaligo-->
```Pascal ```pascaligo
const availableSupply: nat = 15n; const availableSupply: nat = 15n;
const totalSupply: nat = 100n; const totalSupply: nat = 100n;
@ -30,7 +30,7 @@ A short hand syntax for the same function as above can inline the price calculat
While this approach can have it's benefits, it can decrease readability. While this approach can have it's benefits, it can decrease readability.
<!--DOCUSAURUS_CODE_TABS--> <!--DOCUSAURUS_CODE_TABS-->
<!--Pascaligo--> <!--Pascaligo-->
```Pascal ```pascaligo
const availableSupply: nat = 15n; const availableSupply: nat = 15n;
const totalSupply: nat = 100n; const totalSupply: nat = 100n;

View File

@ -13,7 +13,7 @@ Type aliasing is a great choice when working towards a readable / maintainable s
<!--DOCUSAURUS_CODE_TABS--> <!--DOCUSAURUS_CODE_TABS-->
<!--Pascaligo--> <!--Pascaligo-->
```Pascal ```pascaligo
type animalBreed is string; type animalBreed is string;
const dogBreed: animalBreed = "Saluki"; const dogBreed: animalBreed = "Saluki";
@ -26,7 +26,7 @@ const dogBreed: animalBreed = "Saluki";
### Simple types ### Simple types
<!--DOCUSAURUS_CODE_TABS--> <!--DOCUSAURUS_CODE_TABS-->
<!--Pascaligo--> <!--Pascaligo-->
```Pascal ```pascaligo
// accountBalances is a simple type, a map of address <-> tez // accountBalances is a simple type, a map of address <-> tez
type accountBalances is map(address, tez); type accountBalances is map(address, tez);
@ -46,7 +46,7 @@ In the example below you can see definition of data types for a ledger, that kee
<!--DOCUSAURUS_CODE_TABS--> <!--DOCUSAURUS_CODE_TABS-->
<!--Pascaligo--> <!--Pascaligo-->
```Pascal ```pascaligo
// alias two types // alias two types
type account is address; type account is address;
type numberOfTransactions is nat; type numberOfTransactions is nat;

View File

@ -3,7 +3,7 @@ id: installation
title: Installation title: Installation
--- ---
There are currently two ways to get started with Ligo, both of those will allow you to use the Ligo CLI with your contracts. You can choose to use either a Docker image, or to compile & build the Ligo CLI yourself. There are currently two ways to get started with Ligo. You can choose to either use a Docker image, or to install packages for your Debian Linux distribution.
## Dockerized installation (recommended) ## Dockerized installation (recommended)
@ -21,6 +21,8 @@ If this is your first time using Docker, you probably want to set up a global li
> You can install additional ligo versions by replacing `next` with the required version number > You can install additional ligo versions by replacing `next` with the required version number
Download the latest binaries here: https://gitlab.com/ligolang/ligo/pipelines/85536879/builds or get the latest pre-release:
```zsh ```zsh
# next (pre-release) # next (pre-release)
curl https://gitlab.com/ligolang/ligo/raw/dev/scripts/installer.sh | bash -s "next" curl https://gitlab.com/ligolang/ligo/raw/dev/scripts/installer.sh | bash -s "next"
@ -38,6 +40,12 @@ ligo --help
``` ```
## Manual installation (advanced) ## Debian Linux package installation
We have produced .deb packages for a few Debian Linuxes. They will install a global `ligo` executable. You can install them in the usual way.
- [Ubuntu 18.04](/deb/ligo_ubuntu-18.04.deb)
- [Ubuntu 19.04](/deb/ligo_ubuntu-19.04.deb)
- [Debian 9](/deb/ligo_debian-9.deb)
- [Debian 10](/deb/ligo_debian-10.deb)
For now, please refer to the steps described in the [Dockerfile](https://gitlab.com/ligolang/ligo/blob/master/docker/Dockerfile).

View File

@ -17,14 +17,15 @@ In the [previous tutorial](tutorials/get-started/tezos-taco-shop-smart-contract.
## Analyzing the current contract ## Analyzing the current contract
### **`taco-shop.ligo`** ### **`taco-shop.ligo`**
``` ```pascaligo
type taco_supply is record type taco_supply is record
current_stock : nat; current_stock : nat;
max_price : tez; max_price : tez;
end end
type taco_shop_storage is map(nat, taco_supply); type taco_shop_storage is map(nat, taco_supply);
function buy_taco (const taco_kind_index: nat ; var taco_shop_storage : taco_shop_storage) : (list(operation) * taco_shop_storage) is function buy_taco (const taco_kind_index: nat ; var taco_shop_storage : taco_shop_storage) :
(list(operation) * taco_shop_storage) is
begin begin
// Retrieve the taco_kind from the contract's storage // Retrieve the taco_kind from the contract's storage
const taco_kind : taco_supply = get_force(taco_kind_index, taco_shop_storage); const taco_kind : taco_supply = get_force(taco_kind_index, taco_shop_storage);
@ -46,7 +47,7 @@ function buy_taco (const taco_kind_index: nat ; var taco_shop_storage : taco_sho
### Purchase price formula ### Purchase price formula
Pedro's Taco Shop contract currently enables customers to buy tacos, at a computed price based on a simple formula. Pedro's Taco Shop contract currently enables customers to buy tacos, at a computed price based on a simple formula.
``` ```pascaligo
const current_purchase_price : tez = taco_kind.max_price / taco_kind.current_stock; const current_purchase_price : tez = taco_kind.max_price / taco_kind.current_stock;
``` ```
@ -66,7 +67,7 @@ This means that after all the *purchase conditions* of our contract are met - e.
### Defining the recipient ### Defining the recipient
In order to send tokens, we will need a receiver address - which in our case will be Pedro's personal account. Additionally we'll wrap the given address as a *`contract(unit)`* - which represents either a contract with no parameters, or an implicit account. In order to send tokens, we will need a receiver address - which in our case will be Pedro's personal account. Additionally we'll wrap the given address as a *`contract(unit)`* - which represents either a contract with no parameters, or an implicit account.
``` ```pascaligo
const ownerAddress : address = "tz1TGu6TN5GSez2ndXXeDX6LgUDvLzPLqgYV"; const ownerAddress : address = "tz1TGu6TN5GSez2ndXXeDX6LgUDvLzPLqgYV";
const receiver : contract(unit) = get_contract(ownerAddress); const receiver : contract(unit) = get_contract(ownerAddress);
``` ```
@ -77,7 +78,7 @@ const receiver : contract(unit) = get_contract(ownerAddress);
Now we can transfer the `amount` received by `buy_taco` to Pedro's `ownerAddress`. We will do so by forging a `transaction(unit, amount, receiver)` within a list of operations returned at the end of our contract. Now we can transfer the `amount` received by `buy_taco` to Pedro's `ownerAddress`. We will do so by forging a `transaction(unit, amount, receiver)` within a list of operations returned at the end of our contract.
``` ```pascaligo
const payoutOperation : operation = transaction(unit, amount, receiver) ; const payoutOperation : operation = transaction(unit, amount, receiver) ;
const operations : list(operation) = list const operations : list(operation) = list
payoutOperation payoutOperation
@ -89,7 +90,7 @@ end;
## Finalizing the contract ## Finalizing the contract
### **`taco-shop.ligo`** ### **`taco-shop.ligo`**
``` ```pascaligo
type taco_supply is record type taco_supply is record
current_stock : nat; current_stock : nat;
max_price : tez; max_price : tez;
@ -129,7 +130,7 @@ function buy_taco (const taco_kind_index: nat ; var taco_shop_storage : taco_sho
To confirm that our contract is valid, we can dry run it. As a result we see a *new operation* in the list of returned operations to be executed subsequently. To confirm that our contract is valid, we can dry run it. As a result we see a *new operation* in the list of returned operations to be executed subsequently.
``` ```pascaligo
ligo dry-run taco-shop.ligo --syntax pascaligo --amount 1 buy_taco 1n "map ligo dry-run taco-shop.ligo --syntax pascaligo --amount 1 buy_taco 1n "map
1n -> record 1n -> record
current_stock = 50n; current_stock = 50n;
@ -157,12 +158,12 @@ end"
Because Pedro is a member of the (STA) Specialty Taco Association, he has decided to donate **10%** of the earnings to the STA. We'll just add a `donationAddress` to the contract, and compute a 10% donation sum from each taco purchase. Because Pedro is a member of the (STA) Specialty Taco Association, he has decided to donate **10%** of the earnings to the STA. We'll just add a `donationAddress` to the contract, and compute a 10% donation sum from each taco purchase.
``` ```pascaligo
const ownerAddress: address = "tz1TGu6TN5GSez2ndXXeDX6LgUDvLzPLqgYV"; const ownerAddress: address = "tz1TGu6TN5GSez2ndXXeDX6LgUDvLzPLqgYV";
const donationAddress: address = "tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx"; const donationAddress: address = "tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx";
``` ```
``` ```pascaligo
const receiver : contract(unit) = get_contract(ownerAddress); const receiver : contract(unit) = get_contract(ownerAddress);
const donationReceiver : contract(unit) = get_contract(donationAddress); const donationReceiver : contract(unit) = get_contract(donationAddress);

View File

@ -35,7 +35,7 @@ Each taco kind, has its own `max_price` that it sells for, and a finite supply f
Current purchase price is calculated with the following equation: Current purchase price is calculated with the following equation:
``` ```pascaligo
current_purchase_price = max_price / available_stock current_purchase_price = max_price / available_stock
``` ```
@ -71,8 +71,8 @@ The best way to install the dockerized LIGO is as a **global executable** throug
To begin implementing our smart contract, we need an entry point. We'll call it `main` and it'll specify our contract's storage (`int`) and input parameter (`int`). Of course this is not the final storage/parameter of our contract, but it's something to get us started and test our LIGO installation as well. To begin implementing our smart contract, we need an entry point. We'll call it `main` and it'll specify our contract's storage (`int`) and input parameter (`int`). Of course this is not the final storage/parameter of our contract, but it's something to get us started and test our LIGO installation as well.
### `taco-shop.ligo` ### `taco-shop.ligo`
```Pascal ```pascaligo
function main (const parameter : int; const contractStorage : int) : (list(operation) * int) is function main (const parameter: int; const contractStorage: int) : (list(operation) * int) is
block {skip} with ((nil : list(operation)), contractStorage + parameter) block {skip} with ((nil : list(operation)), contractStorage + parameter)
``` ```
@ -129,7 +129,7 @@ ligo dry-run taco-shop.ligo --syntax pascaligo main 4 3
We know that Pedro's Taco Shop serves two kinds of tacos, so we'll need to manage stock individually, per kind. Let's define a type, that will keep the `stock` & `max_price` per kind - in a record with two fields. Additionally, we'll want to combine our `taco_supply` type into a map, consisting of the entire offer of Pedro's shop. We know that Pedro's Taco Shop serves two kinds of tacos, so we'll need to manage stock individually, per kind. Let's define a type, that will keep the `stock` & `max_price` per kind - in a record with two fields. Additionally, we'll want to combine our `taco_supply` type into a map, consisting of the entire offer of Pedro's shop.
**Taco shop's storage** **Taco shop's storage**
```Pascal ```pascaligo
type taco_supply is record type taco_supply is record
current_stock : nat; current_stock : nat;
max_price : tez; max_price : tez;
@ -141,7 +141,7 @@ type taco_shop_storage is map(nat, taco_supply);
Next step is to update the `main` entry point to include `taco_shop_storage` as its storage - while doing that let's set the `parameter` to `unit` as well to clear things up. Next step is to update the `main` entry point to include `taco_shop_storage` as its storage - while doing that let's set the `parameter` to `unit` as well to clear things up.
**`taco-shop.ligo`** **`taco-shop.ligo`**
```Pascal ```pascaligo
type taco_supply is record type taco_supply is record
current_stock : nat; current_stock : nat;
max_price : tez; max_price : tez;
@ -208,7 +208,7 @@ Let's start by customizing our contract a bit, we will:
- change `taco_shop_storage` to a `var` instead of a `const`, because we'll want to modify it - change `taco_shop_storage` to a `var` instead of a `const`, because we'll want to modify it
**`taco-shop.ligo`** **`taco-shop.ligo`**
```Pascal ```pascaligo
type taco_supply is record type taco_supply is record
current_stock : nat; current_stock : nat;
max_price : tez; max_price : tez;
@ -231,7 +231,7 @@ In order to decrease the stock in our contract's storage for a specific taco kin
**`taco-shop.ligo`** **`taco-shop.ligo`**
```Pascal ```pascaligo
type taco_supply is record type taco_supply is record
current_stock : nat; current_stock : nat;
max_price : tez; max_price : tez;
@ -266,7 +266,7 @@ To make sure we get paid, we will:
- if yes, stock for the given `taco_kind` will be decreased and the payment accepted - if yes, stock for the given `taco_kind` will be decreased and the payment accepted
**`taco-shop.ligo`** **`taco-shop.ligo`**
```Pascal ```pascaligo
type taco_supply is record type taco_supply is record
current_stock : nat; current_stock : nat;
max_price : tez; max_price : tez;
@ -327,11 +327,11 @@ end"
If you'd like to accept tips in your contract as well, simply change the following line, depending on which behavior do you prefer. If you'd like to accept tips in your contract as well, simply change the following line, depending on which behavior do you prefer.
**Without tips** **Without tips**
```Pascal ```pascaligo
if amount =/= current_purchase_price then if amount =/= current_purchase_price then
``` ```
**With tips** **With tips**
```Pascal ```pascaligo
if amount >= current_purchase_price then if amount >= current_purchase_price then
``` ```

View File

@ -24,57 +24,53 @@ class Footer extends React.Component {
render() { render() {
return ( return (
<footer className="nav-footer" id="footer"> <footer className="nav-footer" id="footer">
<section className="sitemap"> <section className="footer-wrapper">
<a className="nav-home"></a> <div className="sitemap">
<div> <a className="nav-home"></a>
<h5>Docs</h5> <div>
<a href={this.docUrl('setup-installation.html', this.props.language)}> <h5>Docs</h5>
Installation <a href={this.docUrl('setup/installation/', this.props.language)}>
</a> Installation
<a href={this.docUrl('api-cli-commands.html', this.props.language)}> </a>
CLI Commands <a href={this.docUrl('api-cli-commands.html', this.props.language)}>
</a> CLI Commands
<a href={this.docUrl('contributors/origin.html', this.props.language)}> </a>
Contribute <a href={this.docUrl('contributors/origin.html', this.props.language)}>
</a> Contribute
<a href="/odoc"> </a>
Api Documentation <a href="/odoc">
</a> Api Documentation
</a>
</div>
<div>
<h5>Community</h5>
<a
href="https://tezos.stackexchange.com/questions/tagged/ligo"
target="_blank"
rel="noreferrer noopener">
Tezos Stack Exchange
</a>
<a
href="https://discord.gg/9rhYaEt"
target="_blank"
rel="noreferrer noopener">
Discord
</a>
</div>
<div>
<h5>More</h5>
<a href={`${this.props.config.baseUrl}blog`}>Blog</a>
<a href={this.docUrl('tutorials/get-started/tezos-taco-shop-smart-contract.html', this.props.language)}>Tutorials</a>
<a href={`${this.props.config.repoUrl}`}>Gitlab</a>
</div>
</div> </div>
<div>
<h5>Community</h5> <div className="copyright">
<a {this.props.config.copyright}
href="https://tezos.stackexchange.com/questions/tagged/ligo"
target="_blank"
rel="noreferrer noopener">
Tezos Stack Exchange
</a>
<a
href="https://discord.gg/9rhYaEt"
target="_blank"
rel="noreferrer noopener">
Discord
</a>
</div>
<div>
<h5>More</h5>
<a href={`${this.props.config.baseUrl}blog`}>Blog</a>
<a href={this.docUrl('tutorials/get-started/tezos-taco-shop-smart-contract.html', this.props.language)}>Tutorials</a>
<a href={`${this.props.config.repoUrl}`}>Gitlab</a>
</div> </div>
</section> </section>
<section className="copyright">
Website built with <a
href="https://docusaurus.io/"
target="_blank"
rel="noreferrer noopener">
Docusaurus
</a> by Facebook.
<div>Icons made by <a href="https://www.freepik.com/" title="Freepik">Freepik</a> & <a href="https://www.flaticon.com/authors/lucy-g" title="Lucy G">Lucy G</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></div>
{this.props.config.copyright}
</section>
</footer> </footer>
); );
} }

View File

@ -9,86 +9,130 @@ const React = require("react");
const CompLibrary = require("../../core/CompLibrary.js"); const CompLibrary = require("../../core/CompLibrary.js");
const hljs = require("highlight.js");
const MarkdownBlock = CompLibrary.MarkdownBlock; /* Used to read markdown */ const MarkdownBlock = CompLibrary.MarkdownBlock; /* Used to read markdown */
const Container = CompLibrary.Container; const Container = CompLibrary.Container;
const GridBlock = CompLibrary.GridBlock; const GridBlock = CompLibrary.GridBlock;
const pre = "```";
const pascaligoExampleSmall = `${pre}pascaligo
// variant defining pseudo multi-entrypoint
// actions
type action is
| Increment of int
| Decrement of int
function add
(const a: int; const b: int): int is
block { skip } with a + b
function subtract
(const a: int; const b: int): int
is block { skip } with a - b
// real entrypoint that re-routes the flow
// based on the action provided
function main
(const p: action; const s: int):
(list(operation) * int) is
block { skip }
with ((nil : list(operation)),
case p of
| Increment(n) -> add(s, n)
| Decrement(n) -> subtract(s, n)
end)
${pre}`;
const pascaligoExample = `${pre}pascaligo
// variant defining pseudo multi-entrypoint actions
type action is
| Increment of int
| Decrement of int
function add (const a : int ; const b : int) : int is
block { skip } with a + b
function subtract (const a : int ; const b : int) : int is
block { skip } with a - b
// real entrypoint that re-routes the flow based
// on the action provided
function main (const p : action ; const s : int) :
(list(operation) * int) is
block { skip } with ((nil : list(operation)),
case p of
| Increment(n) -> add(s, n)
| Decrement(n) -> subtract(s, n)
end)
${pre}`;
const cameligoExampleSmall = `${pre}ocaml
type storage = int
(* variant defining pseudo multi-entrypoint
actions *)
type action =
| Increment of int
| Decrement of int
let add (a: int) (b: int): int = a + b
let subtract (a: int) (b: int): int = a - b
(* real entrypoint that re-routes the flow
based on the action provided *)
let%entry main(p : action) storage =
let storage =
match p with
| Increment n -> add storage n
| Decrement n -> subtract storage n
in (([] : operation list), storage)
${pre}`;
const cameligoExample = `${pre}ocaml
type storage = int
(* variant defining pseudo multi-entrypoint actions *)
type action =
| Increment of int
| Decrement of int
let add (a: int) (b: int): int = a + b
let subtract (a: int) (b: int): int = a - b
(* real entrypoint that re-routes the flow based on
the action provided *)
let%entry main(p : action) storage =
let storage =
match p with
| Increment n -> add storage n
| Decrement n -> subtract storage n
in (([] : operation list), storage)
${pre}`;
const PascalLIGOTab = () => ( const PascalLIGOTab = () => (
<div <div
id="tab-group-3-content-4" id="tab-group-3-content-4"
className="tab-pane active" className="tab-pane active code-snippet"
data-group="group_3" data-group="group_3"
tabIndex="-1" tabIndex="-1"
> >
<div> <MarkdownBlock>{pascaligoExampleSmall}</MarkdownBlock>
<span> <MarkdownBlock>{pascaligoExample}</MarkdownBlock>
<pre>
<code className="hljs css language-Pascal">
// variant defining pseudo multi-entrypoint actions
<br />
type action is
<br />| Increment of int
<br />| Decrement of int
<br />
<br />
function add (const a : int ; const b : int) : int is
<br /> block {"{ skip }"} with a + b<br />
<br />
function subtract (const a : int ; const b : int) : int is
<br /> block {"{ skip }"} with a - b<br />
<br />
// real entrypoint that re-routes the flow based on the action
provided
<br />
function main (const p : action ; const s : int) : (list(operation)
* int) is
<br /> block {"{ skip }"} with ((nil : list(operation)),
<br /> case p of
<br /> | Increment(n) -&gt; add(s, n)
<br /> | Decrement(n) -&gt; subtract(s, n)
<br /> end)
<br />
</code>
</pre>
</span>
</div>
</div> </div>
); );
const CamelLIGOTab = () => ( const CamelLIGOTab = () => (
<div <div
id="tab-group-3-content-5" id="tab-group-3-content-5"
className="tab-pane" className="tab-pane code-snippet"
data-group="group_3" data-group="group_3"
tabIndex="-1" tabIndex="-1"
> >
<div> <MarkdownBlock>{cameligoExampleSmall}</MarkdownBlock>
<pre> <MarkdownBlock>{cameligoExample}</MarkdownBlock>
<code className="hljs css language-Pascal">
type storage = int <br />
<br />
(* variant defining pseudo multi-entrypoint actions *) <br />
<br />
type action =<br />| Increment of int
<br />| Decrement of int
<br />
<br />
let add (a: int) (b: int) : int = a + b<br />
<br />
let subtract (a: int) (b: int) : int = a - b<br />
<br />
(* real entrypoint that re-routes the flow based on the action
provided *)
<br />
<br />
let%entry main (p : action) storage =<br /> let storage =<br /> match
p with
<br /> | Increment n -> add storage n<br /> | Decrement n -> subtract
storage n<br /> in (([] : operation list), storage)
<br />
</code>
</pre>
</div>
</div> </div>
); );
@ -134,20 +178,32 @@ class HomeSplash extends React.Component {
</div> </div>
</div> </div>
</div> </div>
</div> </div >
); );
return ( return (
<div className="home-container"> <div className="home-container">
<div className="home-text"> <div className="home-text">
<div className="projectTitle">
<img alt={siteConfig.title} src={`${siteConfig.baseUrl}img/logo.svg`} />
</div>
<h4 className="tagline-text">{siteConfig.tagline}</h4> <h4 className="tagline-text">{siteConfig.tagline}</h4>
<p className="body">{siteConfig.taglineSub}</p> <p className="body">{siteConfig.taglineSub}</p>
<LinkButton <LinkButton
href={docUrl("setup/installation.html")} href="https://ligolang.gitlab.io/ligo-web-ide/"
className="large-primary-button" className="large-primary-button"
>
Try Online
</LinkButton>
<p></p>
<LinkButton
href={docUrl("setup/installation.html")}
className="large-secondary-button"
> >
Get Started Get Started
</LinkButton> </LinkButton>
</div> </div>
<SampleCode /> <SampleCode />
</div> </div>
@ -317,10 +373,8 @@ class Index extends React.Component {
<div className="partners-container hide-small"> <div className="partners-container hide-small">
{PartnerShowcase} {PartnerShowcase}
<div className="partners-text"> <div className="partners-text">
<h3>Our Partners</h3> <h3>Partners</h3>
<p className="body">
We are not alone in this world -- here're some guys who support us
</p>
</div> </div>
</div> </div>
); );

View File

@ -82,8 +82,8 @@ const team = [
const siteConfig = { const siteConfig = {
title: "LIGO", // Title for your website. title: "LIGO", // Title for your website.
tagline: tagline:
"LIGO is a statically typed high-level smart-contract language that compiles down to Michelson.", "LIGO is a friendly smart-contract language for Tezos",
taglineSub: "It seeks to be easy to use, extensible and safe.", taglineSub: "Michelson was never so easy",
url: "https://your-docusaurus-test-site.com", // Your website URL url: "https://your-docusaurus-test-site.com", // Your website URL
baseUrl: "/", // Base URL for your project */ baseUrl: "/", // Base URL for your project */
// For github.io type URLs, you would set the url and baseUrl like: // For github.io type URLs, you would set the url and baseUrl like:
@ -116,7 +116,6 @@ const siteConfig = {
team, team,
/* path to images for header/footer */ /* path to images for header/footer */
headerIcon: "img/logo.svg",
footerIcon: "img/logo.svg", footerIcon: "img/logo.svg",
favicon: "img/logo.svg", favicon: "img/logo.svg",
@ -141,11 +140,38 @@ const siteConfig = {
*/ */
// This copyright info is used in /core/Footer.js and blog RSS/Atom feeds. // This copyright info is used in /core/Footer.js and blog RSS/Atom feeds.
copyright: `Copyright © ${new Date().getFullYear()} Marigold`, copyright: `© ${new Date().getFullYear()} LIGO. All rights reserved.`,
highlight: { highlight: {
// Highlight.js theme to use for syntax highlighting in code blocks. // Highlight.js theme to use for syntax highlighting in code blocks.
theme: "default" theme: "default",
hljs: function (hljs) {
hljs.registerLanguage('pascaligo', function (hljs) {
return {
// case_insensitive: true,
beginKeywords: '',
keywords: {
keyword: 'and begin block case const contains down else end fail for ' +
'from function if in is list map mod nil not of or patch ' +
'procedure record remove set skip step then to type var while with',
literal: 'true false unit int string some none bool nat list'
},
lexemes: '[a-zA-Z][a-zA-Z0-9_]*',
contains: [
hljs.C_LINE_COMMENT_MODE,
{
className: 'type',
begin: /[A-Z][a-z]+/
},
{
begin: /[*+-:;\(\)\{\}|\>\<]/,
// className: 'ignore'
}
]
}
});
}
}, },
// Add custom scripts here that would be placed in <script> tags. // Add custom scripts here that would be placed in <script> tags.

View File

@ -105,19 +105,110 @@ footnote {
font-size: 0.75rem; font-size: 0.75rem;
} }
.projectTitle small {
max-width: 700px;
text-align: center;
margin: 0 auto;
margin-top: 0.7em;
}
.fixedHeaderContainer {
background-color: #ffffff;
color: var(--color-primary-text);
}
.fixedHeaderContainer a {
color: var(--color-primary-text);
}
.fixedHeaderContainer .headerWrapper header a:nth-child(2) {
background-color: #EFEFEF;
margin-left: 50px;
padding: 4px 7px;
font-weight: normal;
}
.fixedHeaderContainer .headerWrapper header h3 {
margin: 0;
color: var(--color-primary-text);
text-decoration: none;
}
.fixedHeaderContainer header .headerTitleWithLogo { .fixedHeaderContainer header .headerTitleWithLogo {
display: none; display: none;
} }
.fixedHeaderContainer header img { .fixedHeaderContainer {
left: 0;
} }
.nav-footer { .nav-footer {
background: var(--color-primary-text); background: var(--color-primary-text);
} }
.nav-footer .copyright {
text-align: left;
margin-left: 92px;
margin-top: 3em;
border-top: 1px solid white;
padding-top: 3em;
margin-right: 92px;
}
.nav-footer .footer-wrapper {
margin: 0 auto 3em;
max-width: 1080px;
}
.nav-footer .sitemap {
margin: 0;
}
.navigationSlider .slidingNav { .navigationSlider .slidingNav {
background: #1a1a1a; background: white;
}
.navigationSlider .slidingNav ul {
background: white;
color: var(--color-primary-text) !important;
}
.navigationSlider .slidingNav ul li > a:focus,
.navigationSlider .slidingNav ul li > a:hover,
.navigationSlider .slidingNav ul li.siteNavItemActive > a,
.navigationSlider .slidingNav ul li.siteNavGroupActive > a {
background-color: white;
color: var(--color-primary-brand) !important;
}
/** Top Section **/
.home-container {
display: flex;
align-items: center;
justify-content: space-around;
}
.home-text {
text-align: center;
flex: 1;
}
.sample-code-container {
display: flex;
width: 65%;
justify-content: center;
box-sizing: border-box;
background: url(/img/geo.svg) top right/20% 30% no-repeat,
url(/img/geo.svg) bottom left/30% 50% no-repeat;
}
.sample-code {
border: solid 1px lightgray;
width: 80%;
padding: 10gipx;
background-color: white;
} }
.hljs { .hljs {
@ -126,7 +217,6 @@ footnote {
} }
.tabs { .tabs {
max-width: 800px;
margin: 0 auto; margin: 0 auto;
border-top: none; border-top: none;
border-bottom: 4px solid #e0e0e0; border-bottom: 4px solid #e0e0e0;
@ -146,12 +236,6 @@ footnote {
border-bottom: 4px solid #1a1a1a; border-bottom: 4px solid #1a1a1a;
} }
.disabled {
cursor: default;
color: #24292e64 !important;
border-bottom: none;
}
.tab-content { .tab-content {
border-top: 4px solid #e0e0e0; border-top: 4px solid #e0e0e0;
} }
@ -162,32 +246,12 @@ footnote {
top: 4px; top: 4px;
} }
/** Top Section **/ /** **/
.home-container {
display: flex;
align-items: center;
justify-content: space-between;
padding: var(--padding-level-3);
}
.home-text { .disabled {
max-width: 40%; cursor: default;
} color: #24292e64 !important;
border-bottom: none;
.sample-code-container {
display: flex;
justify-content: center;
box-sizing: border-box;
max-width: 60%;
background: url("/img/geo.svg") top right/140px 140px no-repeat,
url("/img/geo.svg") bottom left/200px 200px no-repeat;
}
.sample-code {
width: 80%;
padding: 25px;
box-shadow: 0px 0px 70px rgba(13, 15, 51, 0.06);
background-color: white;
} }
blockquote { blockquote {
@ -263,6 +327,11 @@ html {
background: white; background: white;
} }
body {
margin: 0 auto;
max-width: 1500px;
}
.copyright a { .copyright a {
color: #b2210c; color: #b2210c;
} }
@ -456,22 +525,52 @@ body
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
max-width: 20%; max-width: fit-content;
color: var(--color-primary-text); color: var(--color-primary-text);
padding: 0 var(--padding-level-1); padding: 0 var(--padding-level-1);
} }
.profileContainer a {
color: var(--color-primary-text);
}
.profileContainer:hover { .profileContainer:hover {
color: var(--color-primary-brand); color: var(--color-primary-brand);
} }
.profileImage {
max-height: 195px;
max-width: 195px;
border: var(--color-gray);
}
.profileImage:hover {
box-shadow: 12px 12px 0px var(--color-primary-brand);
}
.team-container {
display: flex;
flex-direction: row;
justify-content: space-around;
padding: var(--padding-level-1);
flex-wrap: wrap;
}
@media only screen and (min-device-width: 360px) and (max-device-width: 736px) {
}
.profileContainer p {
color: var(--color-primary-text);
}
.profileContainer:hover p {
color: var(--color-primary-brand);
}
.profileContainer:hover .profileImage { .profileContainer:hover .profileImage {
box-shadow: 12px 12px 0px var(--color-primary-brand); box-shadow: 12px 12px 0px var(--color-primary-brand);
} }
.profileImage { .profileImage {
max-height: 195px;
max-width: 195px;
width: 100%; width: 100%;
border: var(--color-gray); border: var(--color-gray);
} }
@ -500,10 +599,6 @@ body
background-color: var(--color-light-gray); background-color: var(--color-light-gray);
} }
.card:hover {
background-color: var(--color-light-blue);
}
.card-text { .card-text {
text-align: center; text-align: center;
} }
@ -530,6 +625,35 @@ body
border-left: 5px solid var(--color-primary-brand); border-left: 5px solid var(--color-primary-brand);
} }
.code-snippet > div:nth-child(2) {
display: none;
}
@media only screen and (min-width: 1024px) {
.code-snippet > div:nth-child(2) {
display: block;
}
.code-snippet > div:nth-child(1) {
display: none;
}
}
@media only screen and (min-width: 768px) {
.navigationSlider .slidingNav ul li a {
color: #0D0F33;
}
.navigationSlider .slidingNav ul li a:hover {
color: #3AA0FF;
}
.home-container .tab-pane {
height: 500px;
}
}
@media (min-width: 560px) and (max-width: 768px) { @media (min-width: 560px) and (max-width: 768px) {
/** Special rules to reorient feature cards at only one screen size**/ /** Special rules to reorient feature cards at only one screen size**/
.card { .card {
@ -548,6 +672,10 @@ body
.profileContainer { .profileContainer {
max-width: 30%; max-width: 30%;
} }
.headerWrapper header a:nth-child(2) {
display: none;
}
} }
@media (max-width: 560px) { @media (max-width: 560px) {
@ -564,33 +692,132 @@ body
} }
} }
@media (max-width: 735px) {
.nav-footer .sitemap {
max-width: 90%;
margin: 0 auto;
}
.nav-footer .copyright {
max-width: 90%;
text-align: left;
margin: 3em auto;
}
}
@media only screen and (min-device-width: 360px) and (max-device-width: 736px) { @media only screen and (min-device-width: 360px) and (max-device-width: 736px) {
} }
@media only screen and (max-width: 1023px) { @media only screen and (max-width: 1023px) {
.home-container { .home-container {
flex-direction: column-reverse; flex-direction: column;
margin-top: var(--padding-level-1);
}
.home-text {
align-content: center; align-content: center;
text-align: center;
max-width: 90%;
padding-top: var(--padding-level-2);
} }
.home-text {
text-align: center;
padding: var(--padding-level-2);
}
.sample-code-container { .sample-code-container {
max-width: 100%; width: 100%;
}
.sample-code {
padding: 0;
width: 100%;
} }
} }
@media only screen and (min-width: 1280px) { @media only screen and (min-width: 1280px) {
} .home-container {
flex-direction: row;
@media only screen and (min-width: 1440px) { margin: var(--padding-level-1);
.landing h4.tagline-text { max-width: 90%;
font-size: 2.25rem; padding: var(--padding-level-3);
} }
} }
@media only screen and (min-width: 1500px) { input#search_input_react::placeholder {
color: white;
opacity: .8;
}
@media only screen and (max-width: 1023px) {
.reactNavSearchWrapper input#search_input_react {
background-color: rgba(0, 0, 0, 0.2);
color: white;
}
.landing code {
font-size: .8rem;
}
.landing h4.tagline-text {
font-size: 1.5rem;
}
}
/* code highlights */
.hljs {
display:block;
overflow-x:hidden;
padding:.5em;
background:white;
color:black;
}
.hljs-comment,
.hljs-quote,
.hljs-variable {
color:#008000
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-built_in,
.hljs-name,
.hljs-tag {
color:#00f
}
.hljs-string,
.hljs-title,
.hljs-section,
.hljs-attribute,
.hljs-literal,
.hljs-template-tag,
.hljs-template-variable,
.hljs-type,
.hljs-addition {
color:#a31515
}
.hljs-deletion,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-meta {
color:#2b91af
}
.hljs-doctag {
color:#808080
}
.hljs-attr {
color:#f00
}
.hljs-symbol,
.hljs-bullet,
.hljs-link {
color:#00b0e8
}
.hljs-emphasis {
font-style:italic
}
.hljs-strong {
font-weight:bold
}
.docMainWrapper .hljs {
border: solid 1px lightgray;
overflow-x: auto;
} }

View File

@ -0,0 +1 @@
*

View File

@ -1 +1 @@
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 245 240"><style>.st0{fill:#FFFFFF;}</style><path class="st0" d="M104.4 103.9c-5.7 0-10.2 5-10.2 11.1s4.6 11.1 10.2 11.1c5.7 0 10.2-5 10.2-11.1.1-6.1-4.5-11.1-10.2-11.1zM140.9 103.9c-5.7 0-10.2 5-10.2 11.1s4.6 11.1 10.2 11.1c5.7 0 10.2-5 10.2-11.1s-4.5-11.1-10.2-11.1z"/><path class="st0" d="M189.5 20h-134C44.2 20 35 29.2 35 40.6v135.2c0 11.4 9.2 20.6 20.5 20.6h113.4l-5.3-18.5 12.8 11.9 12.1 11.2 21.5 19V40.6c0-11.4-9.2-20.6-20.5-20.6zm-38.6 130.6s-3.6-4.3-6.6-8.1c13.1-3.7 18.1-11.9 18.1-11.9-4.1 2.7-8 4.6-11.5 5.9-5 2.1-9.8 3.5-14.5 4.3-9.6 1.8-18.4 1.3-25.9-.1-5.7-1.1-10.6-2.7-14.7-4.3-2.3-.9-4.8-2-7.3-3.4-.3-.2-.6-.3-.9-.5-.2-.1-.3-.2-.4-.3-1.8-1-2.8-1.7-2.8-1.7s4.8 8 17.5 11.8c-3 3.8-6.7 8.3-6.7 8.3-22.1-.7-30.5-15.2-30.5-15.2 0-32.2 14.4-58.3 14.4-58.3 14.4-10.8 28.1-10.5 28.1-10.5l1 1.2c-18 5.2-26.3 13.1-26.3 13.1s2.2-1.2 5.9-2.9c10.7-4.7 19.2-6 22.7-6.3.6-.1 1.1-.2 1.7-.2 6.1-.8 13-1 20.2-.2 9.5 1.1 19.7 3.9 30.1 9.6 0 0-7.9-7.5-24.9-12.7l1.4-1.6s13.7-.3 28.1 10.5c0 0 14.4 26.1 14.4 58.3 0 0-8.5 14.5-30.6 15.2z"/></svg> <svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 245 240"><style>.st0{fill:#3aa0ff;}</style><path class="st0" d="M104.4 103.9c-5.7 0-10.2 5-10.2 11.1s4.6 11.1 10.2 11.1c5.7 0 10.2-5 10.2-11.1.1-6.1-4.5-11.1-10.2-11.1zM140.9 103.9c-5.7 0-10.2 5-10.2 11.1s4.6 11.1 10.2 11.1c5.7 0 10.2-5 10.2-11.1s-4.5-11.1-10.2-11.1z"/><path class="st0" d="M189.5 20h-134C44.2 20 35 29.2 35 40.6v135.2c0 11.4 9.2 20.6 20.5 20.6h113.4l-5.3-18.5 12.8 11.9 12.1 11.2 21.5 19V40.6c0-11.4-9.2-20.6-20.5-20.6zm-38.6 130.6s-3.6-4.3-6.6-8.1c13.1-3.7 18.1-11.9 18.1-11.9-4.1 2.7-8 4.6-11.5 5.9-5 2.1-9.8 3.5-14.5 4.3-9.6 1.8-18.4 1.3-25.9-.1-5.7-1.1-10.6-2.7-14.7-4.3-2.3-.9-4.8-2-7.3-3.4-.3-.2-.6-.3-.9-.5-.2-.1-.3-.2-.4-.3-1.8-1-2.8-1.7-2.8-1.7s4.8 8 17.5 11.8c-3 3.8-6.7 8.3-6.7 8.3-22.1-.7-30.5-15.2-30.5-15.2 0-32.2 14.4-58.3 14.4-58.3 14.4-10.8 28.1-10.5 28.1-10.5l1 1.2c-18 5.2-26.3 13.1-26.3 13.1s2.2-1.2 5.9-2.9c10.7-4.7 19.2-6 22.7-6.3.6-.1 1.1-.2 1.7-.2 6.1-.8 13-1 20.2-.2 9.5 1.1 19.7 3.9 30.1 9.6 0 0-7.9-7.5-24.9-12.7l1.4-1.6s13.7-.3 28.1 10.5c0 0 14.4 26.1 14.4 58.3 0 0-8.5 14.5-30.6 15.2z"/></svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

View File

@ -1,29 +0,0 @@
opam-version: "2.0"
name: "bip39"
version: "dev"
maintainer: "Vincent Bernardoff <vb@luminar.eu.org>"
authors: ["Vincent Bernardoff <vb@luminar.eu.org>"]
homepage: "https://github.com/vbmithr/ocaml-bip39"
doc: "https://vbmithr.github.io/ocaml-bip39/doc"
synopsis: "Bitcoin's BIP39 implementation"
license: "ISC"
dev-repo: "git+https://github.com/vbmithr/ocaml-bip39.git"
bug-reports: "https://github.com/vbmithr/ocaml-bip39/issues"
tags: []
build: [
[ "dune" "build" "-j" jobs "-p" name "@install" ]
[ "mv" "vendors/tezos-modded/vendors/ocaml-bip39/bip39.install" "." ]
]
depends: [
"dune" {build & >= "1.0.1"}
"base" {build & >= "v0.10.0"}
"stdio" {build & >= "v0.10.0"}
"hacl"
"bigstring" {>= "0.2"}
"pbkdf" {>= "0.2.0"}
"hex" {with-test & >= "1.2.0"}
"alcotest" {with-test & >= "0.8.1"}
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,24 +0,0 @@
version: "dev"
opam-version: "2.0"
name: "blake2"
authors: "Vincent Bernardoff <vb@luminar.eu.org>"
maintainer: "Vincent Bernardoff <vb@luminar.eu.org>"
license: "ISC"
synopsis: "Cryptography for Tezos"
homepage: "https://github.com/vbmithr/ocaml-blake2"
bug-reports: "https://github.com/vbmithr/ocaml-blake2/issues"
dev-repo: "git://github.com/vbmithr/ocaml-blake2"
build: [
[ "dune" "build" "-j" jobs "-p" name "@install" ]
[ "mv" "vendors/tezos-modded/vendors/ocaml-blake2/blake2.install" "." ]
]
run-test: [ "dune" "runtest" "-p" name "-j" jobs ]
depends: [
"dune" {build & >= "1.0.1"}
"bigstring" {>= "0.1.1"}
"alcotest" { with-test }
"hex" {with-test & >= "1.2.0"}
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,28 +0,0 @@
version: "dev"
opam-version: "2.0"
name: "hacl"
authors: [ "Vincent Bernardoff <vb@luminar.eu.org>" "Marco Stronati <marco@stronati.org>" ]
maintainer: "Vincent Bernardoff <vb@luminar.eu.org>"
synopsis: "Tezos binding for Hacl*"
homepage: "https://gitlab.com/tezos/tezos"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"dune" {build & >= "1.0.1"}
"bigstring" {>= "0.1.1"}
"ocplib-endian" {>= "1.0"}
"zarith" {>= "1.7"}
"alcotest" {with-test & >= "0.8.1"}
"hex" {with-test & >= "1.2.0"}
"base"
"stdio"
]
build: [
[ "dune" "build" "-j" jobs "-p" name "@install" ]
[ "mv" "vendors/tezos-modded/vendors/ocaml-hacl/hacl.install" "." ]
]
run-test: [ "dune" "runtest" "-p" name "-j" jobs ]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,27 +0,0 @@
version: "dev"
name: "irmin-lmdb"
opam-version: "2.0"
maintainer: "gregoire.henry@tezos.com"
authors: ["Grégoire Henry"]
license: "ISC"
homepage: "https://gitlab.com/tezos/irmin-lmdb"
bug-reports: "https://gitlab.com/tezos/irmin-lmdb/issues"
dev-repo: "git+https://gitlab.com/tezos/irmin-lmdb.git"
doc: "https://tezos.gitlab.io/irmin-lmdb/"
synopsis: "LMDB backend for Irmin"
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
[ "mv" "vendors/tezos-modded/vendors/irmin-lmdb/irmin-lmdb.install" "." ]
]
run-test: ["dune" "runtest" "-p" name]
depends: [
"dune" {build & >= "1.0.1"}
"irmin" {>= "1.4.0"}
"lmdb" {>= "0.1"}
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,22 +0,0 @@
version: "dev"
opam-version: "2.0"
name: "ledgerwallet-tezos"
authors: "Vincent Bernardoff <vb@luminar.eu.org>"
maintainer: "Vincent Bernardoff <vb@luminar.eu.org>"
license: "ISC"
synopsis: "Ledger wallet library for OCaml: Tezos app"
homepage: "https://github.com/vbmithr/ocaml-ledger-wallet"
bug-reports: "https://github.com/vbmithr/ocaml-ledger-wallet/issues"
dev-repo: "git://github.com/vbmithr/ocaml-ledger-wallet"
build: [
[ "dune" "build" "-j" jobs "-p" name "@install" ]
[ "mv" "vendors/tezos-modded/vendors/ocaml-ledger-wallet/ledgerwallet-tezos.install" "." ]
]
run-test: [ "dune" "runtest" "-p" name "-j" jobs ]
depends: [
"dune" {build & >= "1.0.1"}
"ledgerwallet" {= "dev"}
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,24 +0,0 @@
opam-version: "2.0"
version: "dev"
name: "ledgerwallet"
authors: "Vincent Bernardoff <vb@luminar.eu.org>"
maintainer: "Vincent Bernardoff <vb@luminar.eu.org>"
license: "ISC"
synopsis: "Ledger wallet library for OCaml"
homepage: "https://github.com/vbmithr/ocaml-ledger-wallet"
bug-reports: "https://github.com/vbmithr/ocaml-ledger-wallet/issues"
dev-repo: "git://github.com/vbmithr/ocaml-ledger-wallet"
build: [
[ "dune" "build" "-j" jobs "-p" name "@install" ]
[ "mv" "vendors/tezos-modded/vendors/ocaml-ledger-wallet/ledgerwallet.install" "." ]
]
run-test: [ "dune" "runtest" "-p" name "-j" jobs ]
depends: [
"dune" {build & >= "1.0.1"}
"rresult" {>= "0.5.0"}
"cstruct" {>= "3.2.1"}
"hidapi" {>= "1.0"}
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,29 +0,0 @@
version: "dev"
name: "ligo"
opam-version: "2.0"
maintainer: "ligolang@gmail.com"
authors: [ "Galfour" ]
homepage: "https://gitlab.com/ligolang/tezos"
bug-reports: "https://gitlab.com/ligolang/tezos/issues"
synopsis: "A higher-level language which compiles to Michelson"
dev-repo: "git+https://gitlab.com/ligolang/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"menhir"
"ppx_let"
"ppx_deriving"
"tezos-utils"
"proto-alpha-utils"
"yojson"
"alcotest" { with-test }
"getopt"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "src/ligo.install" "." ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,23 +0,0 @@
opam-version: "2.0"
name: "lmdb"
version: "0.1"
authors: "Vincent Bernardoff <vb@luminar.eu.org>"
maintainer: "Vincent Bernardoff <vb@luminar.eu.org>"
license: "ISC"
synopsis: "Simple OCaml binding to Lightning Memory-Mapped Database from Symas"
homepage: "https://github.com/vbmithr/ocaml-lmdb"
bug-reports: "https://github.com/vbmithr/ocaml-lmdb/issues"
dev-repo: "git://github.com/vbmithr/ocaml-lmdb"
build: [
[ "dune" "build" "-j" jobs "-p" name "@install" ]
[ "mv" "vendors/tezos-modded/vendors/ocaml-lmdb/lmdb.install" "." ]
]
depends: [
"dune" {build & >= "1.0.1"}
"rresult" {>= "0.5.0"}
"cstruct" {with-test & >= "3.2.1"}
"alcotest" {with-test & >= "0.8.1"}
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,21 +0,0 @@
name: "michelson-parser"
opam-version: "2.0"
version: "dev"
maintainer: "ligolang@gmail.com"
authors: [ "Galfour" ]
homepage: "https://gitlab.com/ligolang/tezos"
bug-reports: "https://gitlab.com/ligolang/tezos/issues"
dev-repo: "git+https://gitlab.com/ligolang/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune"
"tezos-memory-proto-alpha"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/ligo-utils/tezos-utils/michelson-parser/michelson-parser.install" "." ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,28 +0,0 @@
name: "ocplib-ezresto-directory"
version: "dev"
opam-version: "2.0"
maintainer: "Grégoire Henry <gregoire.henry@tezos.com>"
authors: "Grégoire Henry <gregoire.henry@tezos.com>"
license: "LGPL-2.1-with-OCaml-exception"
homepage: "https://github.com/OCamlPro/ocplib-resto"
bug-reports: "https://github.com/OCamlPro/ocplib-resto/issues"
dev-repo: "git+https://github.com/OCamlPro/ocplib-resto"
synopsis: "A minimal OCaml library for type-safe HTTP/JSON RPCs"
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/vendors/ocplib-resto/lib_ezresto-directory/ocplib-ezresto-directory.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
depends: [
"ocamlfind" {build}
"dune" {build}
"ocplib-ezresto" {= "dev" }
"ocplib-resto-directory" {= "dev" }
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,28 +0,0 @@
name: "ocplib-ezresto"
version: "dev"
opam-version: "2.0"
maintainer: "Grégoire Henry <gregoire.henry@tezos.com>"
authors: "Grégoire Henry <gregoire.henry@tezos.com>"
license: "LGPL-2.1-with-OCaml-exception"
homepage: "https://github.com/OCamlPro/ocplib-resto"
bug-reports: "https://github.com/OCamlPro/ocplib-resto/issues"
dev-repo: "git+https://github.com/OCamlPro/ocplib-resto"
synopsis: "A minimal OCaml library for type-safe HTTP/JSON RPCs"
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/vendors/ocplib-resto/lib_ezresto/ocplib-ezresto.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
depends: [
"ocamlfind" {build}
"dune" {build}
"ocplib-resto" {= "dev" }
"ocplib-resto-json" {= "dev" }
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,25 +0,0 @@
opam-version: "2.0"
name: "ocplib-json-typed-browser"
version: "0.6"
maintainer: "Benjamin Canou <benjamin@ocamlpro.com>"
authors: "Benjamin Canou <benjamin@ocamlpro.com>"
homepage: "https://github.com/ocamlpro/ocplib-json-typed"
synopsis: "Libraries for reliable manipulation JSON objects (browser support)"
bug-reports: "https://github.com/ocamlpro/ocplib-json-typed/issues"
license: "LGPLv3 w/ linking exception"
dev-repo: "git+https://github.com/ocamlpro/ocplib-json-typed.git"
build: [
[ "dune" "build" "-j" jobs "-p" name "@install" ]
[ "mv" "vendors/tezos-modded/vendors/ocplib-json-typed/ocplib-json-typed-browser.install" "." ]
]
run-test: [ "dune" "runtest" "-p" name "-j" jobs ]
depends: [
"ocaml" {>= "4.3.0"}
"dune" {build & >= "1.0.1"}
"ocplib-json-typed" {= "0.6" }
"js_of_ocaml" {>= "3.3.0"}
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,25 +0,0 @@
opam-version: "2.0"
name: "ocplib-json-typed-bson"
version: "0.6"
maintainer: "Benjamin Canou <benjamin@ocamlpro.com>"
authors: "Benjamin Canou <benjamin@ocamlpro.com>"
homepage: "https://github.com/ocamlpro/ocplib-json-typed"
synopsis: "Libraries for reliable manipulation JSON objects (BSON)"
bug-reports: "https://github.com/ocamlpro/ocplib-json-typed/issues"
license: "LGPLv3 w/ linking exception"
dev-repo: "git+https://github.com/ocamlpro/ocplib-json-typed.git"
build: [
[ "dune" "build" "-j" jobs "-p" name "@install" ]
[ "mv" "vendors/tezos-modded/vendors/ocplib-json-typed/ocplib-json-typed-bson.install" "." ]
]
run-test: [ "dune" "runtest" "-p" name "-j" jobs ]
depends: [
"ocaml" {>= "4.3.0"}
"dune" {build & >= "1.0.1"}
"ocplib-json-typed" {= "0.6" }
"ocplib-endian" {>= "1.0"}
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,24 +0,0 @@
opam-version: "2.0"
name: "ocplib-json-typed"
version: "0.6"
maintainer: "Benjamin Canou <benjamin@ocamlpro.com>"
authors: "Benjamin Canou <benjamin@ocamlpro.com>"
homepage: "https://github.com/ocamlpro/ocplib-json-typed"
synopsis: "Libraries for reliable manipulation JSON objects"
bug-reports: "https://github.com/ocamlpro/ocplib-json-typed/issues"
license: "LGPLv3 w/ linking exception"
dev-repo: "git+https://github.com/ocamlpro/ocplib-json-typed.git"
build: [
[ "dune" "build" "-j" jobs "-p" name "@install" ]
[ "mv" "vendors/tezos-modded/vendors/ocplib-json-typed/ocplib-json-typed.install" "." ]
]
run-test: [ "dune" "runtest" "-p" name "-j" jobs ]
depends: [
"ocaml" {>= "4.3.0"}
"dune" {build & >= "1.0.1"}
"uri" {>= "1.9.0" }
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,28 +0,0 @@
name: "ocplib-resto-cohttp"
version: "dev"
opam-version: "2.0"
maintainer: "Grégoire Henry <gregoire.henry@tezos.com>"
authors: "Grégoire Henry <gregoire.henry@tezos.com>"
license: "LGPL-2.1-with-OCaml-exception"
homepage: "https://github.com/OCamlPro/ocplib-resto"
bug-reports: "https://github.com/OCamlPro/ocplib-resto/issues"
dev-repo: "git+https://github.com/OCamlPro/ocplib-resto"
synopsis: "A minimal OCaml library for type-safe HTTP/JSON RPCs"
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/vendors/ocplib-resto/lib_resto-cohttp/ocplib-resto-cohttp.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
depends: [
"ocamlfind" {build}
"dune" {build}
"ocplib-resto-directory" {= "dev" }
"cohttp-lwt-unix" { >= "1.0.0" }
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,29 +0,0 @@
name: "ocplib-resto-directory"
version: "dev"
opam-version: "2.0"
maintainer: "Grégoire Henry <gregoire.henry@tezos.com>"
authors: "Grégoire Henry <gregoire.henry@tezos.com>"
license: "LGPL-2.1-with-OCaml-exception"
homepage: "https://github.com/OCamlPro/ocplib-resto"
bug-reports: "https://github.com/OCamlPro/ocplib-resto/issues"
dev-repo: "git+https://github.com/OCamlPro/ocplib-resto"
synopsis: "A minimal OCaml library for type-safe HTTP/JSON RPCs"
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/vendors/ocplib-resto/lib_resto-directory/ocplib-resto-directory.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
depends: [
"ocamlfind" {build}
"dune" {build}
"ocplib-resto" {= "dev" }
"ocplib-resto-json" {= "dev" & with-test }
"lwt" { >= "3.0.0" }
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,28 +0,0 @@
name: "ocplib-resto-json"
version: "dev"
opam-version: "2.0"
maintainer: "Grégoire Henry <gregoire.henry@tezos.com>"
authors: "Grégoire Henry <gregoire.henry@tezos.com>"
license: "LGPL-2.1-with-OCaml-exception"
homepage: "https://github.com/OCamlPro/ocplib-resto"
bug-reports: "https://github.com/OCamlPro/ocplib-resto/issues"
dev-repo: "git+https://github.com/OCamlPro/ocplib-resto"
synopsis: "A minimal OCaml library for type-safe HTTP/JSON RPCs"
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/vendors/ocplib-resto/lib_resto-json/ocplib-resto-json.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
depends: [
"ocamlfind" {build}
"dune" {build}
"ocplib-resto" {= "dev" }
"ocplib-json-typed-bson" { >= "0.6" }
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,27 +0,0 @@
name: "ocplib-resto"
version: "dev"
opam-version: "2.0"
maintainer: "Grégoire Henry <gregoire.henry@tezos.com>"
authors: "Grégoire Henry <gregoire.henry@tezos.com>"
license: "LGPL-2.1-with-OCaml-exception"
homepage: "https://github.com/OCamlPro/ocplib-resto"
bug-reports: "https://github.com/OCamlPro/ocplib-resto/issues"
dev-repo: "git+https://github.com/OCamlPro/ocplib-resto"
synopsis: "A minimal OCaml library for type-safe HTTP/JSON RPCs"
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/vendors/ocplib-resto/lib_resto/ocplib-resto.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
depends: [
"ocamlfind" {build}
"dune" {build}
"uri"
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,27 +0,0 @@
opam-version: "2.0"
name: "pbkdf"
version: "0.3.0"
homepage: "https://github.com/abeaumont/ocaml-pbkdf"
dev-repo: "git+https://github.com/abeaumont/ocaml-pbkdf.git"
bug-reports: "https://github.com/abeaumont/ocaml-pbkdf/issues"
authors: ["Alfredo Beaumont <alfredo.beaumont@gmail.com>" "Sonia Meruelo <smeruelo@gmail.com>"]
maintainer: ["Alfredo Beaumont <alfredo.beaumont@gmail.com>"]
license: "BSD2"
synopsis: "Password based key derivation functions from PKCS#5, RFC 2898"
build: [
[ "dune" "build" "-j" jobs "-p" name "@install" ]
[ "mv" "vendors/tezos-modded/vendors/ocaml-pbkdf/pbkdf.install" "." ]
]
run-test: [ "dune" "runtest" "-p" name "-j" jobs ]
depends: [
"dune" { build & >= "1.0.1" }
"hacl"
"bigstring" {>= "0.2"}
"ocplib-endian" {>= "1.0"}
"alcotest" {with-test & >= "0.8.1"}
"hex" {with-test & >= "1.2.0"}
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,56 +0,0 @@
opam-version: "2.0"
name: "proto-alpha-utils"
version: "dev"
synopsis: "LIGO Proto Alpha-specific Utilities, to be used by other libraries"
maintainer: "Galfour <ligolang@gmail.com>"
authors: "Galfour <ligolang@gmail.com>"
license: "MIT"
homepage: "https://gitlab.com/ligolang/ligo-utils"
bug-reports: "https://gitlab.com/ligolang/ligo-utils/issues"
depends: [
"dune"
"base"
"base"
"bigstring"
"calendar"
"cohttp-lwt-unix"
"cstruct"
"ezjsonm"
"hex"
"hidapi"
"ipaddr"
"irmin"
"js_of_ocaml"
"lwt"
"lwt_log"
"mtime"
"ocplib-endian"
"ocp-ocamlres"
"re"
"rresult"
"stdio"
"uri"
"uutf"
"zarith"
"ocplib-json-typed"
"ocplib-json-typed-bson"
"tezos-crypto"
"tezos-stdlib-unix"
"tezos-data-encoding"
"tezos-protocol-environment"
"tezos-protocol-alpha"
"michelson-parser"
"simple-utils"
"tezos-utils"
# from ppx_let:
"ocaml" {>= "4.04.2" & < "4.08.0"}
"dune" {build & >= "1.5.1"}
"ppxlib" {>= "0.5.0"}
]
build: [
["dune" "build" "-p" name]
[ "mv" "vendors/ligo-utils/proto-alpha-utils/proto-alpha-utils.install" "." ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,22 +0,0 @@
opam-version: "2.0"
name: "secp256k1"
version: "0.1"
authors: "Vincent Bernardoff <vb@luminar.eu.org>"
maintainer: "Vincent Bernardoff <vb@luminar.eu.org>"
homepage: "https://github.com/vbmithr/ocaml-secp256k1-internal"
bug-reports: "https://github.com/vbmithr/ocaml-secp256k1-internal/issues"
dev-repo: "git://github.com/vbmithr/ocaml-secp256k1-internal"
synopsis: "Bindings to secp256k1 internal functions"
build: [
[ "dune" "build" "-j" jobs "-p" name "@install" ]
[ "mv" "vendors/tezos-modded/vendors/ocaml-secp256k1/secp256k1.install" "." ]
]
depends: [
"conf-gmp" {build}
"dune" {build & >= "1.0.1"}
"cstruct" {>= "3.2.1"}
"bigstring" {>= "0.1.1"}
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,54 +0,0 @@
opam-version: "2.0"
name: "simple-utils"
version: "dev"
synopsis: "LIGO Utilities, to be used by other libraries"
maintainer: "Galfour <ligolang@gmail.com>"
authors: "Galfour <ligolang@gmail.com>"
license: "MIT"
homepage: "https://gitlab.com/ligolang/ligo-utils"
bug-reports: "https://gitlab.com/ligolang/ligo-utils/issues"
depends: [
"dune"
"base"
"base"
"bigstring"
"calendar"
"cohttp-lwt-unix"
"cstruct"
"ezjsonm"
"hex"
"hidapi"
"ipaddr"
"irmin"
"js_of_ocaml"
"lwt"
"lwt_log"
"mtime"
"ocplib-endian"
"ocp-ocamlres"
"re"
"rresult"
"stdio"
"uri"
"uutf"
"zarith"
"ocplib-json-typed"
"ocplib-json-typed-bson"
"tezos-crypto"
"tezos-stdlib-unix"
"tezos-data-encoding"
"tezos-protocol-environment"
"tezos-protocol-alpha"
"michelson-parser"
# from ppx_let:
"ocaml" {>= "4.04.2" & < "4.08.0"}
"dune" {build & >= "1.5.1"}
"ppxlib" {>= "0.5.0"}
]
build: [
["dune" "build" "-p" name]
[ "mv" "vendors/ligo-utils/simple-utils/simple-utils.install" "." ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,29 +0,0 @@
version: "dev"
name: "tezos-accuser-alpha-commands"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-protocol-environment"
"tezos-protocol-alpha"
"tezos-shell-services"
"tezos-client-base"
"tezos-client-commands"
"tezos-client-alpha"
"tezos-baking-alpha"
"tezos-signer-backends" { with-test }
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/proto_alpha/lib_delegate/tezos-accuser-alpha-commands.install" "." ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,25 +0,0 @@
version: "dev"
name: "tezos-accuser-alpha"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-client-alpha"
"tezos-client-commands"
"tezos-baking-alpha-commands"
"tezos-client-base-unix"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/proto_alpha/bin_accuser/tezos-accuser-alpha.install" "." ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,29 +0,0 @@
version: "dev"
name: "tezos-baker-alpha-commands"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-protocol-environment"
"tezos-protocol-alpha"
"tezos-shell-services"
"tezos-client-base"
"tezos-client-commands"
"tezos-client-alpha"
"tezos-baking-alpha"
"tezos-signer-backends" { with-test }
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/proto_alpha/lib_delegate/tezos-baker-alpha-commands.install" "." ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,25 +0,0 @@
version: "dev"
name: "tezos-baker-alpha"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-client-alpha"
"tezos-client-commands"
"tezos-baking-alpha-commands"
"tezos-client-base-unix"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/proto_alpha/bin_baker/tezos-baker-alpha.install" "." ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,29 +0,0 @@
version: "dev"
name: "tezos-baking-alpha-commands"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-protocol-environment"
"tezos-protocol-alpha"
"tezos-shell-services"
"tezos-client-base"
"tezos-client-commands"
"tezos-client-alpha"
"tezos-baking-alpha"
"tezos-signer-backends" { with-test }
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/proto_alpha/lib_delegate/tezos-baking-alpha-commands.install" "." ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,34 +0,0 @@
version: "dev"
name: "tezos-baking-alpha"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-protocol-environment"
"tezos-protocol-alpha"
"tezos-shell-services"
"tezos-client-base"
"tezos-client-commands"
"tezos-client-alpha"
"tezos-node" { with-test }
"tezos-client-genesis" { with-test }
"tezos-client-base-unix" { with-test }
"alcotest-lwt" { with-test }
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/proto_alpha/lib_delegate/tezos-baking-alpha.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,34 +0,0 @@
version: "dev"
name: "tezos-base"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-stdlib"
"tezos-crypto"
"tezos-data-encoding"
"tezos-error-monad"
"tezos-micheline"
"tezos-rpc"
"calendar"
"ezjsonm" { >= "0.5.0" }
"ipaddr" { >= "3.0.0" }
"mtime" { >= "1.0.0" }
"re" { >= "1.7.2" }
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_base/tezos-base.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,25 +0,0 @@
version: "dev"
name: "tezos-clic"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-stdlib"
"tezos-error-monad"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_clic/tezos-clic.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,27 +0,0 @@
version: "dev"
name: "tezos-client-alpha-commands"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-protocol-environment"
"tezos-protocol-alpha"
"tezos-shell-services"
"tezos-client-base"
"tezos-client-alpha"
"tezos-client-commands"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/proto_alpha/lib_client_commands/tezos-client-alpha-commands.install" "." ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,26 +0,0 @@
version: "dev"
name: "tezos-client-alpha"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-protocol-environment"
"tezos-protocol-alpha"
"tezos-shell-services"
"tezos-client-base"
"tezos-signer-backends"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/proto_alpha/lib_client/tezos-client-alpha.install" "." ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,29 +0,0 @@
version: "dev"
name: "tezos-client-base-unix"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-client-base"
"tezos-stdlib-unix"
"tezos-rpc-http"
"tezos-signer-backends"
"tezos-client-commands"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_client_base_unix/tezos-client-base-unix.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,31 +0,0 @@
version: "dev"
name: "tezos-client-base"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-stdlib-unix"
"tezos-shell-services"
"tezos-storage"
"tezos-rpc-http"
"cmdliner"
"pbkdf"
"bip39"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_client_base/tezos-client-base.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,28 +0,0 @@
version: "dev"
name: "tezos-client-commands"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-client-base"
"tezos-rpc"
"tezos-shell-services"
"tezos-signer-backends"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_client_commands/tezos-client-commands.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,29 +0,0 @@
name: "tezos-client-demo"
opam-version: "1.2"
version: "dev"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-shell-services"
"tezos-client-base"
"tezos-client-commands"
"tezos-protocol-environment"
"tezos-protocol-demo"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/proto_demo/lib_client/tezos-client-demo.install" "." ]
]
build-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,29 +0,0 @@
version: "dev"
name: "tezos-client-genesis"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-shell-services"
"tezos-client-base"
"tezos-client-commands"
"tezos-protocol-environment"
"tezos-protocol-genesis"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/proto_genesis/lib_client/tezos-client-genesis.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,35 +0,0 @@
version: "dev"
name: "tezos-client"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-client-base"
"tezos-client-genesis"
"tezos-client-demo"
"tezos-client-alpha"
"tezos-client-alpha-commands"
"tezos-baking-alpha"
"tezos-baking-alpha-commands"
"tezos-client-base-unix"
"tezos-signer-backends"
"tezos-node" { with-test }
"tezos-protocol-compiler" { with-test }
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/bin_client/tezos-client.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,35 +0,0 @@
version: "dev"
name: "tezos-crypto"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-stdlib"
"tezos-data-encoding"
"tezos-error-monad"
"tezos-rpc"
"tezos-clic"
"lwt"
"blake2"
"hacl"
"zarith"
"secp256k1"
"uecc"
"alcotest" { with-test & >= "0.8.3" }
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_crypto/tezos-crypto.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,30 +0,0 @@
version: "dev"
name: "tezos-data-encoding"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-stdlib"
"ezjsonm"
"ocplib-json-typed"
"ocplib-json-typed-bson"
"ocplib-endian"
"alcotest" { with-test }
"crowbar" { with-test }
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_data_encoding/tezos-data-encoding.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,29 +0,0 @@
version: "dev"
name: "tezos-embedded-protocol-alpha"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-protocol-compiler"
"tezos-protocol-updater"
]
build: [
[ "%{tezos-protocol-compiler:lib}%/replace"
"%{tezos-protocol-compiler:lib}%/dune_protocol.template"
"dune" "alpha" ]
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/proto_alpha/lib_protocol/tezos-embedded-protocol-alpha.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,28 +0,0 @@
version: "dev"
name: "tezos-embedded-protocol-demo"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-protocol-compiler"
"tezos-protocol-updater"
]
build: [
[ "%{tezos-protocol-compiler:lib}%/replace"
"%{tezos-protocol-compiler:lib}%/dune_protocol.template"
"dune" "demo" ]
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/proto_demo/lib_protocol/tezos-embedded-protocol-demo.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,28 +0,0 @@
version: "dev"
name: "tezos-embedded-protocol-genesis"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-protocol-compiler"
"tezos-protocol-updater"
]
build: [
[ "%{tezos-protocol-compiler:lib}%/replace"
"%{tezos-protocol-compiler:lib}%/dune_protocol.template"
"dune" "genesis" ]
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/proto_genesis/lib_protocol/tezos-embedded-protocol-genesis.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,29 +0,0 @@
version: "dev"
name: "tezos-endorser-alpha-commands"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-protocol-environment"
"tezos-protocol-alpha"
"tezos-shell-services"
"tezos-client-base"
"tezos-client-commands"
"tezos-client-alpha"
"tezos-baking-alpha"
"tezos-signer-backends" { with-test }
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/proto_alpha/lib_delegate/tezos-endorser-alpha-commands.install" "." ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,25 +0,0 @@
version: "dev"
name: "tezos-endorser-alpha"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-client-alpha"
"tezos-client-commands"
"tezos-baking-alpha-commands"
"tezos-client-base-unix"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/proto_alpha/bin_endorser/tezos-endorser-alpha.install" "." ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,26 +0,0 @@
version: "dev"
name: "tezos-error-monad"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-stdlib"
"tezos-data-encoding"
"lwt"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_error_monad/tezos-error-monad.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,22 +0,0 @@
opam-version: "2.0"
name: "memory-proto-alpha"
version: "dev"
synopsis: "Tezos Protocol Alpha in memory"
maintainer: "Galfour <ligolang@gmail.com>"
authors: "Galfour <ligolang@gmail.com>"
license: "MIT"
homepage: "https://gitlab.com/ligolang/tezos"
bug-reports: "https://gitlab.com/ligolang/tezos/issues"
depends: [
"dune"
"tezos-protocol-environment"
"tezos-protocol-alpha"
]
build: [
["dune" "build" "-p" name]
[ "mv" "vendors/tezos-modded/src/lib_memory_protocol_alpha/tezos-memory-proto-alpha.install" "." ]
]
dev-repo: "git+https://gitlab.com/ligolang/tezos"
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,27 +0,0 @@
version: "dev"
name: "tezos-micheline"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-data-encoding"
"tezos-error-monad"
"uutf"
"alcotest-lwt" { with-test }
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_micheline/tezos-micheline.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,35 +0,0 @@
version: "dev"
name: "tezos-node"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-rpc-http"
"tezos-p2p"
"tezos-shell"
"tezos-protocol-updater"
"tezos-embedded-protocol-genesis"
"tezos-embedded-protocol-demo"
"tezos-embedded-protocol-alpha"
"cmdliner"
"tls"
"cstruct" { < "3.4.0" } ## Because "tls" depends on a version of "nocrypto"
## that is not compatible with recent "cstruct"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/bin_node/tezos-node.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,27 +0,0 @@
version: "dev"
name: "tezos-p2p"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-stdlib-unix"
"tezos-shell-services"
"alcotest-lwt" { with-test }
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_p2p/tezos-p2p.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,33 +0,0 @@
version: "dev"
name: "tezos-protocol-alpha"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-protocol-compiler"
"alcotest-lwt" { with-test }
"tezos-stdlib-unix" { with-test }
"tezos-protocol-environment" { with-test }
"tezos-shell-services" { with-test }
"bip39" { with-test }
]
build: [
# [ "%{tezos-protocol-compiler:lib}%/replace"
# "%{tezos-protocol-compiler:lib}%/dune_protocol.template"
# "src/proto_alpha/lib_protocol/dune" "alpha" ]
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/proto_alpha/lib_protocol/tezos-protocol-alpha.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,31 +0,0 @@
version: "dev"
name: "tezos-protocol-compiler"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
## ocaml should be in sync with `script/version.sh`
"ocaml" { = "4.06.1" }
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"base-unix"
"tezos-base"
"tezos-protocol-environment-sigs"
"tezos-stdlib-unix"
"ocplib-endian"
"ocp-ocamlres" { >= "0.4" }
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_protocol_compiler/tezos-protocol-compiler.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,27 +0,0 @@
version: "dev"
name: "tezos-protocol-demo"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-protocol-compiler"
]
build: [
[ "%{tezos-protocol-compiler:lib}%/replace"
"%{tezos-protocol-compiler:lib}%/dune_protocol.template"
"src/proto_demo/lib_protocol/dune" "demo" ]
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/proto_demo/lib_protocol/tezos-protocol-demo.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,26 +0,0 @@
version: "dev"
name: "tezos-protocol-environment-shell"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-protocol-environment"
"tezos-storage"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_protocol_environment/tezos-protocol-environment-shell.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,24 +0,0 @@
version: "dev"
name: "tezos-protocol-environment-sigs"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-stdlib" { with-test }
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_protocol_environment/tezos-protocol-environment-sigs.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,26 +0,0 @@
version: "dev"
name: "tezos-protocol-environment"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-protocol-environment-sigs"
"alcotest-lwt" { with-test }
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_protocol_environment/tezos-protocol-environment.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,27 +0,0 @@
version: "dev"
name: "tezos-protocol-genesis"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-protocol-compiler"
]
build: [
[ "%{tezos-protocol-compiler:lib}%/replace"
"%{tezos-protocol-compiler:lib}%/dune_protocol.template"
"dune" "genesis" ]
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/proto_genesis/lib_protocol/tezos-protocol-genesis.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,30 +0,0 @@
version: "dev"
name: "tezos-protocol-updater"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-micheline"
"tezos-shell-services"
"tezos-protocol-compiler"
"tezos-protocol-environment-shell"
"tezos-stdlib-unix"
"tezos-storage"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_protocol_updater/tezos-protocol-updater.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,26 +0,0 @@
version: "dev"
name: "tezos-rpc-http"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"ocplib-resto-directory"
"ocplib-resto-cohttp"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_rpc_http/tezos-rpc-http.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,27 +0,0 @@
version: "dev"
name: "tezos-rpc"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-error-monad"
"tezos-data-encoding"
"ocplib-resto"
"ocplib-resto-directory"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_rpc/tezos-rpc.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,24 +0,0 @@
version: "dev"
name: "tezos-shell-services"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_shell_services/tezos-shell-services.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,31 +0,0 @@
version: "dev"
name: "tezos-shell"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-rpc-http"
"tezos-p2p"
"tezos-shell-services"
"tezos-protocol-updater"
"tezos-validation"
"alcotest-lwt" { with-test }
"tezos-embedded-protocol-demo" { with-test }
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_shell/tezos-shell.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,34 +0,0 @@
version: "dev"
name: "tezos-signer-backends"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-stdlib-unix"
"tezos-client-base"
"tezos-rpc-http"
"tezos-signer-services"
"tezos-shell-services"
"pbkdf"
"bip39"
"ledgerwallet-tezos"
"alcotest" {with-test & >= "0.8.1"}
"alcotest-lwt" {with-test & >= "0.8.0"}
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_signer_backends/tezos-signer-backends.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,26 +0,0 @@
version: "dev"
name: "tezos-signer-services"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-client-base"
"tezos-rpc"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_signer_services/tezos-signer-services.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,31 +0,0 @@
version: "dev"
name: "tezos-signer"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-client-base"
"tezos-client-base-unix"
"tezos-client-commands"
"tezos-signer-services"
"tezos-rpc-http"
"tezos-stdlib-unix"
"tezos-signer-backends"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/bin_signer/tezos-signer.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,27 +0,0 @@
version: "dev"
name: "tezos-stdlib-unix"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"lwt" { >= "3.0.0" }
"conf-libev"
"ipaddr" { >= "3.0.0" }
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_stdlib_unix/tezos-stdlib-unix.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,31 +0,0 @@
version: "dev"
name: "tezos-stdlib"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" & < "1.7" } ## Incompatible with lwt<4
"bigstring"
"hex"
"ocplib-endian"
"re"
"lwt" { < "4" }
"zarith"
"alcotest" { with-test }
"ocp-indent" { with-test & = "1.6.1" }
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_stdlib/tezos-stdlib.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,28 +0,0 @@
version: "dev"
name: "tezos-storage"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"lmdb"
"irmin-lmdb"
"tezos-stdlib-unix" { with-test }
"alcotest-lwt" { with-test }
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_storage/tezos-storage.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,55 +0,0 @@
opam-version: "2.0"
name: "tezos-utils"
version: "dev"
synopsis: "LIGO Tezos specific Utilities, to be used by other libraries"
maintainer: "Galfour <ligolang@gmail.com>"
authors: "Galfour <ligolang@gmail.com>"
license: "MIT"
homepage: "https://gitlab.com/ligolang/ligo-utils"
bug-reports: "https://gitlab.com/ligolang/ligo-utils/issues"
depends: [
"dune"
"base"
"base"
"bigstring"
"calendar"
"cohttp-lwt-unix"
"cstruct"
"ezjsonm"
"hex"
"hidapi"
"ipaddr"
"irmin"
"js_of_ocaml"
"lwt"
"lwt_log"
"mtime"
"ocplib-endian"
"ocp-ocamlres"
"re"
"rresult"
"stdio"
"uri"
"uutf"
"zarith"
"ocplib-json-typed"
"ocplib-json-typed-bson"
"tezos-crypto"
"tezos-stdlib-unix"
"tezos-data-encoding"
"tezos-protocol-environment"
"tezos-protocol-alpha"
"michelson-parser"
"simple-utils"
# from ppx_let:
"ocaml" {>= "4.04.2" & < "4.08.0"}
"dune" {build & >= "1.5.1"}
"ppxlib" {>= "0.5.0"}
]
build: [
["dune" "build" "-p" name]
[ "mv" "vendors/ligo-utils/tezos-utils/tezos-utils.install" "." ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,27 +0,0 @@
version: "dev"
name: "tezos-validation"
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: [ "Tezos devteam" ]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"ocamlfind" { build }
"dune" { build & >= "1.0.1" }
"tezos-base"
"tezos-storage"
"tezos-shell-services"
"tezos-protocol-updater"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]
[ "mv" "vendors/tezos-modded/src/lib_validation/tezos-validation.install" "." ]
]
run-test: [
[ "dune" "runtest" "-p" name "-j" jobs ]
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,25 +0,0 @@
opam-version: "2.0"
name: "uecc"
version: "dev"
authors: "Vincent Bernardoff <vb@luminar.eu.org>"
maintainer: "Vincent Bernardoff <vb@luminar.eu.org>"
license: "ISC"
homepage: "https://github.com/vbmithr/ocaml-uecc"
synopsis: "Bindings for ECDH and ECDSA for 8-bit, 32-bit, and 64-bit processors"
bug-reports: "https://github.com/vbmithr/ocaml-uecc/issues"
dev-repo: "git://github.com/vbmithr/ocaml-uecc"
build: [
[ "dune" "build" "-j" jobs "-p" name "@install" ]
[ "mv" "vendors/tezos-modded/vendors/ocaml-uecc/uecc.install" "." ]
]
run-test: [ "dune" "runtest" "-p" name "-j" jobs ]
depends: [
"dune" {build & >= "1.0.1"}
"bigstring" {>= "0.1.1"}
"alcotest" {with-test & >= "0.8.1"}
"cstruct" {with-test & >= "3.2.1"}
"hex" {with-test}
]
url {
src: "https://gitlab.com/ligolang/ligo/-/archive/master/ligo.tar.gz"
}

View File

@ -1,4 +1,3 @@
#!/bin/sh #!/bin/sh
set -e set -e
docker build --build-arg target="4.07" -t "${LIGO_REGISTRY_IMAGE_BUILD:-ligolang/ligo}:next" -f ./docker/distribution/generic/build.Dockerfile .
docker build -t ligolang/ligo -f docker/Dockerfile .

View File

@ -0,0 +1,11 @@
#!/bin/sh
dockerfile_name="build"
# Generic dockerfile
dockerfile="./docker/distribution/generic/build.Dockerfile"
. ./scripts/distribution/generic/parameters.sh
echo "Building LIGO for $target"
echo "Using Dockerfile: $dockerfile"
echo "Tagging as: $tag_build\n"
docker build --build-arg target="$target" -t "$tag_build" -f "$dockerfile" .

View File

@ -0,0 +1,12 @@
# This file is a substitute for env variables configured in the CI
# in case you want to run the "CI scripts" on your own
# You can load the following variables using:
# source ./scripts/distribution/generic/env_variables.sh
export LIGO_REGISTRY_IMAGE_BASE_NAME="ligolang/ligo"
# packages build locally are tagget by the 'short' commit hash,
# instead of the build/job/pipeline ID as in the CI to avoid possible confusion
# ligo_incrementing-id_commit-hash
export CI_JOB_ID="0"
export CI_COMMIT_SHORT_SHA="$(git rev-parse --short HEAD)"
export LIGO_DIST_DIR="./dist"

View File

@ -0,0 +1,20 @@
#!/bin/sh
dockerfile_name="package"
dockerfile=""
. ./scripts/distribution/generic/parameters.sh
if [ -n "$dockerfile" ]; then
echo "Packaging LIGO for $target"
echo "Using Dockerfile: $dockerfile"
echo "Using pre-built image: $tag_build"
echo "Version: $version\n"
# Build the package
docker build --build-arg targetBuildImage="$tag_build" --build-arg version="$version" -t "$tag_package" -f "$dockerfile" .
# Copy the package to host's (our own) file system
mkdir -p "$PWD/dist/package/$target"
docker run --entrypoint '/bin/sh' -v $PWD:$PWD "$tag_package" -c "cp -r /package/dist/. $PWD/dist/package/$target"
else
echo "Dockerfile not found for target: $target"
fi

View File

@ -0,0 +1,32 @@
# This script accepts three arguments, os family, os and it's version,
# which are subsequently used to fetch the respective docker
# image from the ocaml/infrastructure project.
#
# https://github.com/ocaml/infrastructure/wiki/Containers#selecting-linux-distributions
target_os_family=$1
target_os=$2
target_os_version=$3
# Variables configured at the CI level
dist="$LIGO_DIST_DIR"
version="$(echo $CI_JOB_ID)-$(echo $CI_COMMIT_SHORT_SHA)"
ci_job_id="$CI_JOB_ID"
# Image names for building & packaging
target="$target_os-$target_os_version"
tag_build="$LIGO_REGISTRY_IMAGE_BASE_NAME-build-$target:$version"
tag_package="$LIGO_REGISTRY_IMAGE_BASE_NAME-package-$target:$version"
tag_package_dockerized="$LIGO_REGISTRY_IMAGE_BASE_NAME-$target:$version"
# Check if there's a specific dockerfile override for
# the current target_os_family (e.g. debian-ish distros) or target_os (ubuntu, xubuntu, ...) and use it if there is one
target_os_family_specific_dockerfile="./docker/distribution/$target_os_family/$dockerfile_name.Dockerfile"
if test -f "$target_os_family_specific_dockerfile"; then
dockerfile="$target_os_family_specific_dockerfile"
fi
target_os_specific_dockerfile="./docker/distribution/$target_os_family/$target_os/$dockerfile_name.Dockerfile"
if test -f "$target_os_specific_dockerfile"; then
dockerfile="$target_os_specific_dockerfile"
fi

View File

@ -4,7 +4,7 @@ if test "x$PWD" = "x"; then
echo "Cannot detect the current directory, the environment variable PWD is empty." echo "Cannot detect the current directory, the environment variable PWD is empty."
exit 1 exit 1
else else
docker run -it -v "$PWD":"$PWD" -w "$PWD" ligolang/ligo:next "$@" docker run --rm -it -v "$PWD":"$PWD" -w "$PWD" ligolang/ligo:next "$@"
fi fi
# Do not remove the next line. It is used as an approximate witness that the download of this file was complete. This string should not appear anywhere else in the file. # Do not remove the next line. It is used as an approximate witness that the download of this file was complete. This string should not appear anywhere else in the file.
# END OF DOWNLOADED FILE # END OF DOWNLOADED FILE

View File

@ -1,6 +0,0 @@
#!/bin/sh
set -e
vendors/opam-repository-tools/rewrite-local-opam-repository.sh
opam repo add ligo-opam-repository ./vendors/ligo-opam-repository-local-generated
opam update ligo-opam-repository

View File

@ -6,7 +6,7 @@ let main =
let term = Term.(const print_endline $ const "Ligo needs a command. Do ligo --help") in let term = Term.(const print_endline $ const "Ligo needs a command. Do ligo --help") in
(term , Term.info "ligo") (term , Term.info "ligo")
let source n = let source_file n =
let open Arg in let open Arg in
let info = let info =
let docv = "SOURCE_FILE" in let docv = "SOURCE_FILE" in
@ -53,6 +53,22 @@ let amount =
info ~docv ~doc ["amount"] in info ~docv ~doc ["amount"] in
value @@ opt string "0" info value @@ opt string "0" info
let sender =
let open Arg in
let info =
let docv = "SENDER" in
let doc = "$(docv) is the sender the dry-run transaction will use." in
info ~docv ~doc ["sender"] in
value @@ opt (some string) None info
let source =
let open Arg in
let info =
let docv = "SOURCE" in
let doc = "$(docv) is the source the dry-run transaction will use." in
info ~docv ~doc ["source"] in
value @@ opt (some string) None info
let display_format = let display_format =
let open Arg in let open Arg in
let info = let info =
@ -70,83 +86,90 @@ let michelson_code_format =
value @@ opt string "michelson" info value @@ opt string "michelson" info
let compile_file = let compile_file =
let f source entry_point syntax display_format michelson_format = let f source_file entry_point syntax display_format michelson_format =
toplevel ~display_format @@ toplevel ~display_format @@
let%bind michelson_format = Main.Display.michelson_format_of_string michelson_format in let%bind michelson_format = Main.Display.michelson_format_of_string michelson_format in
let%bind contract = let%bind contract =
trace (simple_info "compiling contract to michelson") @@ trace (simple_info "compiling contract to michelson") @@
Ligo.Compile.Of_source.compile_file_contract_entry source entry_point (Syntax_name syntax) in Ligo.Compile.Of_source.compile_file_contract_entry source_file entry_point (Syntax_name syntax) in
ok @@ Format.asprintf "%a\n" (Main.Display.michelson_pp michelson_format) contract ok @@ Format.asprintf "%a\n" (Main.Display.michelson_pp michelson_format) contract
in in
let term = let term =
Term.(const f $ source 0 $ entry_point 1 $ syntax $ display_format $ michelson_code_format) in Term.(const f $ source_file 0 $ entry_point 1 $ syntax $ display_format $ michelson_code_format) in
let cmdname = "compile-contract" in let cmdname = "compile-contract" in
let docs = "Subcommand: compile a contract. See `ligo " ^ cmdname ^ " --help' for a list of options specific to this subcommand." in let docs = "Subcommand: compile a contract. See `ligo " ^ cmdname ^ " --help' for a list of options specific to this subcommand." in
(term , Term.info ~docs cmdname) (term , Term.info ~docs cmdname)
let compile_parameter = let compile_parameter =
let f source entry_point expression syntax display_format = let f source_file entry_point expression syntax display_format =
toplevel ~display_format @@ toplevel ~display_format @@
let%bind value = let%bind value =
trace (simple_error "compile-input") @@ trace (simple_error "compile-input") @@
Ligo.Run.Of_source.compile_file_contract_parameter source entry_point expression (Syntax_name syntax) in Ligo.Run.Of_source.compile_file_contract_parameter source_file entry_point expression (Syntax_name syntax) in
ok @@ Format.asprintf "%a\n" Tezos_utils.Michelson.pp value ok @@ Format.asprintf "%a\n" Tezos_utils.Michelson.pp value
in in
let term = let term =
Term.(const f $ source 0 $ entry_point 1 $ expression "PARAMETER" 2 $ syntax $ display_format) in Term.(const f $ source_file 0 $ entry_point 1 $ expression "PARAMETER" 2 $ syntax $ display_format) in
let cmdname = "compile-parameter" in let cmdname = "compile-parameter" in
let docs = "Subcommand: compile parameters to a michelson expression. The resulting michelson expression can be passed as an argument in a transaction which calls a contract. See `ligo " ^ cmdname ^ " --help' for a list of options specific to this subcommand." in let docs = "Subcommand: compile parameters to a michelson expression. The resulting michelson expression can be passed as an argument in a transaction which calls a contract. See `ligo " ^ cmdname ^ " --help' for a list of options specific to this subcommand." in
(term , Term.info ~docs cmdname) (term , Term.info ~docs cmdname)
let compile_storage = let compile_storage =
let f source entry_point expression syntax display_format bigmap = let f source_file entry_point expression syntax display_format bigmap =
toplevel ~display_format @@ toplevel ~display_format @@
let%bind value = let%bind value =
trace (simple_error "compile-storage") @@ trace (simple_error "compile-storage") @@
Ligo.Run.Of_source.compile_file_contract_storage ~value:bigmap source entry_point expression (Syntax_name syntax) in Ligo.Run.Of_source.compile_file_contract_storage ~value:bigmap source_file entry_point expression (Syntax_name syntax) in
ok @@ Format.asprintf "%a\n" Tezos_utils.Michelson.pp value ok @@ Format.asprintf "%a\n" Tezos_utils.Michelson.pp value
in in
let term = let term =
Term.(const f $ source 0 $ entry_point 1 $ expression "STORAGE" 2 $ syntax $ display_format $ bigmap) in Term.(const f $ source_file 0 $ entry_point 1 $ expression "STORAGE" 2 $ syntax $ display_format $ bigmap) in
let cmdname = "compile-storage" in let cmdname = "compile-storage" in
let docs = "Subcommand: compile an initial storage in ligo syntax to a michelson expression. The resulting michelson expression can be passed as an argument in a transaction which originates a contract. See `ligo " ^ cmdname ^ " --help' for a list of options specific to this subcommand." in let docs = "Subcommand: compile an initial storage in ligo syntax to a michelson expression. The resulting michelson expression can be passed as an argument in a transaction which originates a contract. See `ligo " ^ cmdname ^ " --help' for a list of options specific to this subcommand." in
(term , Term.info ~docs cmdname) (term , Term.info ~docs cmdname)
let dry_run = let dry_run =
let f source entry_point storage input amount syntax display_format bigmap = let f source_file entry_point storage input amount sender source syntax display_format bigmap =
toplevel ~display_format @@ toplevel ~display_format @@
let%bind output = let%bind output =
Ligo.Run.Of_source.run_contract ~amount ~storage_value:bigmap source entry_point storage input (Syntax_name syntax) in Ligo.Run.Of_source.run_contract
~options:{ amount ; sender ; source }
~storage_value:bigmap
source_file entry_point storage input (Syntax_name syntax) in
ok @@ Format.asprintf "%a\n" Ast_simplified.PP.expression output ok @@ Format.asprintf "%a\n" Ast_simplified.PP.expression output
in in
let term = let term =
Term.(const f $ source 0 $ entry_point 1 $ expression "PARAMETER" 2 $ expression "STORAGE" 3 $ amount $ syntax $ display_format $ bigmap) in Term.(const f $ source_file 0 $ entry_point 1 $ expression "PARAMETER" 2 $ expression "STORAGE" 3 $ amount $ sender $ source $ syntax $ display_format $ bigmap) in
let cmdname = "dry-run" in let cmdname = "dry-run" in
let docs = "Subcommand: run a smart-contract with the given storage and input." in let docs = "Subcommand: run a smart-contract with the given storage and input." in
(term , Term.info ~docs cmdname) (term , Term.info ~docs cmdname)
let run_function = let run_function =
let f source entry_point parameter amount syntax display_format = let f source_file entry_point parameter amount sender source syntax display_format =
toplevel ~display_format @@ toplevel ~display_format @@
let%bind output = let%bind output =
Ligo.Run.Of_source.run_function_entry ~amount source entry_point parameter (Syntax_name syntax) in Ligo.Run.Of_source.run_function_entry
~options:{ amount ; sender ; source }
source_file entry_point parameter (Syntax_name syntax) in
ok @@ Format.asprintf "%a\n" Ast_simplified.PP.expression output ok @@ Format.asprintf "%a\n" Ast_simplified.PP.expression output
in in
let term = let term =
Term.(const f $ source 0 $ entry_point 1 $ expression "PARAMETER" 2 $ amount $ syntax $ display_format) in Term.(const f $ source_file 0 $ entry_point 1 $ expression "PARAMETER" 2 $ amount $ sender $ source $ syntax $ display_format) in
let cmdname = "run-function" in let cmdname = "run-function" in
let docs = "Subcommand: run a function with the given parameter." in let docs = "Subcommand: run a function with the given parameter." in
(term , Term.info ~docs cmdname) (term , Term.info ~docs cmdname)
let evaluate_value = let evaluate_value =
let f source entry_point amount syntax display_format = let f source_file entry_point amount sender source syntax display_format =
toplevel ~display_format @@ toplevel ~display_format @@
let%bind output = let%bind output =
Ligo.Run.Of_source.evaluate_entry ~amount source entry_point (Syntax_name syntax) in Ligo.Run.Of_source.evaluate_entry
~options:{ amount ; sender ; source }
source_file entry_point (Syntax_name syntax) in
ok @@ Format.asprintf "%a\n" Ast_simplified.PP.expression output ok @@ Format.asprintf "%a\n" Ast_simplified.PP.expression output
in in
let term = let term =
Term.(const f $ source 0 $ entry_point 1 $ amount $ syntax $ display_format) in Term.(const f $ source_file 0 $ entry_point 1 $ amount $ sender $ source $ syntax $ display_format) in
let cmdname = "evaluate-value" in let cmdname = "evaluate-value" in
let docs = "Subcommand: evaluate a given definition." in let docs = "Subcommand: evaluate a given definition." in
(term , Term.info ~docs cmdname) (term , Term.info ~docs cmdname)

Some files were not shown because too many files have changed in this diff Show More