Skip to content

Commit

Permalink
Merge pull request #137 from tonlabs/1.4.0-rc
Browse files Browse the repository at this point in the history
Version 1.4.0
  • Loading branch information
d3p authored Oct 24, 2022
2 parents 36f1396 + b5450a5 commit 8d625f2
Show file tree
Hide file tree
Showing 24 changed files with 1,184 additions and 11,665 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@

All notable changes to this project will be documented in this file.

## [1.4.0] - 2022-10-19

### New

- `sold` - [Solidity Compiler Driver](https://github.com/tonlabs/TON-Solidity-Compiler/tree/master/sold) - version management added. Try it with `everdev sold install`.

- Added a new `everdev sol compile` option `-i [ --include-path ] path/to/dir` to make an additional source directory available
to the default import callback.\
Use this option if you want to import contracts, whose location is not fixed in relation to your main source tree,
e.g. third-party libraries installed using a package manager. Separate different paths with a comma, no space allowed.

Example: `everdev sol compile Contract.sol -i path1/folder1,path2/folder2`

- Added new command `evedev update`.\
This command updates everdev to the latest version and is technically an alias for `npm update -g everdev`.


### Fixed

- Fixed incorrect error message when "deploy contract" and "execute contract" commands are executed for a non-existing (acc_type = nonExist) account.

- Fixed incorrect error message when a user added a new signer with the name of an existing one.

## [1.3.1] - 2022-09-21

### New
Expand Down
62 changes: 34 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,34 +17,36 @@ EverDev is a Node.js package with CLI interface that allows to set up developer

## Content table

* [Quick Start](#quick-start)
* [Use-cases](#use-cases)
* [Content table](#content-table)
* [Installation](#installation)
* [Prerequisites](#prerequisites)
* [Using NPM](#using-npm)
* [Using pre-compiled binaries](#using-pre-compiled-binaries)
* [Using docker](#using-docker)
* [Update](#update)
* [Command Line Interface](#command-line-interface)
* [General command syntax](#general-command-syntax)
* [Solidity Compiler](#solidity-compiler)
* [C/C++ Compiler](#cc-compiler)
* [Network Tool](#network-tool)
* [Signer Tool](#signer-tool)
* [Contract Management Tool](#contract-management-tool)
* [Evernode Simple Emulator (local blockchain)](#evernode-simple-emulator-local-blockchain)
* [Debot Browser](#debot-browser)
* [TestSuite4](#testsuite4)
* [tonos-cli](#tonos-cli)
* [Cookbook](#cookbook)
* [Quick start](#quick-start-1)
* [Work with contracts](#work-with-contracts)
* [Work with DevNet](#work-with-devnet)
* [Create controller](#create-controller)
* [View controller info](#view-controller-info)
* [Troubleshooting](#troubleshooting)
* [EverDev Extensibility](#everdev-extensibility)
- [EverDev](#everdev)
- [Quick Start](#quick-start)
- [Use-cases](#use-cases)
- [Content table](#content-table)
- [Installation](#installation)
- [Prerequisites](#prerequisites)
- [Using NPM](#using-npm)
- [Using pre-compiled binaries](#using-pre-compiled-binaries)
- [Using docker](#using-docker)
- [Update](#update)
- [Command Line Interface](#command-line-interface)
- [General command syntax](#general-command-syntax)
- [Solidity Compiler](#solidity-compiler)
- [Solidity Compiler Driver](#solidity-compiler-driver)
- [C/C++ Compiler](#cc-compiler)
- [Network Tool](#network-tool)
- [Signer Tool](#signer-tool)
- [Contract Management Tool](#contract-management-tool)
- [Evernode Simple Emulator (local blockchain)](#evernode-simple-emulator-local-blockchain)
- [Debot Browser](#debot-browser)
- [TestSuite4](#testsuite4)
- [tonos-cli](#tonos-cli)
- [Cookbook](#cookbook)
- [Quick Start](#quick-start-1)
- [Work with contracts](#work-with-contracts)
- [Work with DevNet](#work-with-devnet)
- [Create controller](#create-controller)
- [View controller info](#view-controller-info)
- [Troubleshooting](#troubleshooting)
- [EverDev Extensibility](#everdev-extensibility)

## Installation

Expand Down Expand Up @@ -133,6 +135,10 @@ Some tools (network, signer, contract, js) and commands have short aliases. For
Controller for [Everscale Solidity compiler](https://github.com/tonlabs/TON-Solidity-Compiler).
### [Solidity Compiler Driver](docs/command-line-interface/sold.md)
Controller for [sold - Everscale Solidity compiler driver](https://github.com/tonlabs/TON-Solidity-Compiler/tree/master/sold)
### [C/C++ Compiler](docs/command-line-interface/c.md)
Controller for [Everscale Clang Compiler](https://github.com/tonlabs/TON-Compiler).
Expand Down
37 changes: 37 additions & 0 deletions docs/command-line-interface/sold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Solidity compiler diver

## Version

This command shows the currently installed sold version.

```shell
everdev sold version
```

## Install

This command installs the latest sold.

```shell
everdev sold install
```
The installer requires NPM to be installed, so it can install packages globally without using sudo.
In case of error, manually set environment variable `PATH=$PATH:$HOME/.everdev/solidity`

## Update

This command updates the sold executable to the latest version.

```shell
everdev sold update
```

**Attention!** Use --force option to force update of components that do not update their version.

## Set

This command specifies sold version to use and downloads it if needed.

```shell
everdev sold set --version 0.8.0
```
22 changes: 22 additions & 0 deletions docs/command-line-interface/solidity.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,22 @@ You can specify the output files location with the `-o` option:
everdev sol compile Contract.sol -o path/to/output/file
```

To make an additional source directory available to the default import callback use `-i` option:

```shell
everdev sol compile Contract.sol -i path/to/importFolder
```

Use this option if you want to import contracts, whose location is not fixed in relation to your main source tree, e.g. third-party libraries.

Separate different paths with a comma, no space allowed.

```shell
everdev sol compile Contract.sol -i path/to/folder1,path/to/folder2
```

The default value is `node_modules` folder.

## Ast

This command parses a ton-solidity file and creates an abstract syntax tree (AST) to the output directory.
Expand All @@ -50,6 +66,12 @@ To point the location of the output folder, use the `-o` or `--output-dir` optio
everdev sol ast-json Contract.sol -f <json | compact-json> -o path/to/output/file
```

You can make an additional source directory available to the default import callback with `-i` option:

```shell
everdev sol ast Contract.sol -i path/to/importFolder
```

## Version

This command shows the currently installed Solidity compiler version.
Expand Down
36 changes: 0 additions & 36 deletions examples/sol/Hello.sol

This file was deleted.

10 changes: 0 additions & 10 deletions examples/sol/index.js

This file was deleted.

5 changes: 0 additions & 5 deletions examples/sol/package.json

This file was deleted.

Loading

0 comments on commit 8d625f2

Please sign in to comment.