Commit Graph

108 Commits

Author SHA1 Message Date
gluaxspeed
2a99a87da7 colored backtrace reports, full and 1 for leo backtrace 2021-08-04 14:19:19 -07:00
gluaxspeed
b1f93e95b3 dep clean up, clippy, leo result 2021-08-04 05:52:08 -07:00
gluaxspeed
2d7963771f clippy, use leo result everywhere 2021-08-04 04:12:03 -07:00
gluaxspeed
6302bda18e cli errors, leo result type 2021-08-04 03:36:33 -07:00
gluaxspeed
162949185f code cleanup 2021-08-04 00:42:48 -07:00
gluaxspeed
76b8b3f0a6 merge master, clippy fixes 2021-08-03 04:00:15 -07:00
gluaxspeed
c8be870471 Compiles, still need to handle state and input eventually 2021-08-03 02:43:21 -07:00
damirka
82f8e8a5ca clippy fixes 2021-08-03 01:46:18 +03:00
gluaxspeed
753039c4b4 code re-organization, dsl for errors 2021-07-31 00:01:23 -07:00
Howard Wu
49cb956bf3
Update manifest.rs 2021-05-13 17:22:35 -07:00
damirka
b8312ab4a4 adds integration tests to Leo CLI
- leo tests are now written as cli commands
- leo libraries and binaries removed from package and cli
- small code optimizations and removals
2021-04-21 13:01:11 +03:00
Collin Chin
efa3f78362
Merge pull request #857 from AleoHQ/feature/cli-dpii-updates
[CLI, Feature] Adds username substitution to manifest, improves login and error messages
2021-04-15 12:31:47 -07:00
gluax
de8106f8e6 fix hard-coded leo new file 2021-04-14 18:02:46 -04:00
damirka
7213273f5f used deprecated methods instead 2021-04-13 21:16:54 +03:00
damirka
79e6b6a33c fixes compression method to deflate 2021-04-13 18:09:12 +03:00
damirka
f3c97390ee adds name substitution on leo new and init
- only adds a name if user is already logged in
- if not, puts [AUTHOR] as it was previously
- before publishing author field is checked in Leo.toml and better error message returned
2021-04-12 16:54:37 +03:00
collin
0a3fb30035 package names cannot start with a number 2021-04-07 17:18:14 -07:00
collin
34fd7283c8 fix package name check 2021-04-07 17:10:07 -07:00
Collin Chin
8396014e32
Update verification_key.rs 2021-04-05 21:01:49 -07:00
damirka
41600d0261 removed unused errors in compiler 2021-03-31 18:06:22 +03:00
damirka
7fea0533fa removed unused code in leo-package 2021-03-31 17:39:33 +03:00
collin
93908c6e77 clippy upper case acroynm READMEERROR 2021-03-25 15:38:33 -07:00
collin
f4f66194e5 allow clippy::upper_case_acronyms for README 2021-03-25 14:52:28 -07:00
howardwu
2e7b542b8b Format and clean up, enable default on snarkvm_algorithms 2021-03-04 11:09:24 -08:00
howardwu
4f50b44a63 itemize imports 2021-03-04 10:33:51 -08:00
howardwu
9206d55408 Clippy 2021-02-24 19:43:03 -08:00
howardwu
c76cb0b086 Add unit test for package name checking 2021-02-24 19:41:52 -08:00
howardwu
73b550011e Adds safety check for valid package names 2021-02-24 19:25:41 -08:00
bors[bot]
077d0f76f1
Merge #676
676: [CLI, PM] Inputs are now published with source code r=collinc97 a=damirka

Fixes #637 

- now inputs are published to Aleo PM
- error json message is printed to user

## Motivation

We're unable to publish packages to PM, this PR fixes that.

## Test Plan

TBD: CI for publishing

Co-authored-by: damirka <damirka.ru@gmail.com>
2021-02-18 06:07:11 +00:00
damirka
6caf915701 Fixes #637
- now inputs are published to Aleo PM
- error json message is printed to user
2021-02-17 21:49:20 +03:00
damirka
d67ee529bb Fixes #660
- ignores files starting with . dot in inputs/ folder
- skips non-input or state files instead of exiting with error
2021-02-15 22:58:34 +03:00
howardwu
c935d6a486 Update license to 2021 2021-02-01 20:26:56 -08:00
collin
219f2360e5 rustup update && cargo clippy 2021-01-19 13:31:30 -05:00
howardwu
bf2280e400 Add bash highlighting 2021-01-03 18:09:14 -04:00
howardwu
3f79420011 Update README logic with build guide 2020-12-30 00:24:46 -04:00
collin
c9b7b0ccc6 Merge branch 'master' of github.com:AleoHQ/leo into feature/license-header 2020-10-21 12:18:54 -07:00
ljedrz
d662b9a236 perf: use Cow to avoid some PathBuf allocations
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-16 16:51:58 +02:00
ljedrz
f59416be1b refactor: pass &Path instead of &PathBuf as arguments
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-16 16:18:46 +02:00
ljedrz
790f1c472a perf: don't allocate PathBufs for the purposes of PathBuf::push
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-16 15:52:45 +02:00
ljedrz
69d35063f2 perf: use .to_string() instead of single-param format!
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-16 15:52:45 +02:00
ljedrz
300666827e fmt: run cargo +nightly fmt on the changes
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-06 13:07:30 +02:00
ljedrz
70b87d331f fix: replace deprecated functions
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-06 12:50:43 +02:00
ljedrz
a872db5ca6 clippy: fix useless_conversion
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-06 12:50:43 +02:00
ljedrz
a4891c6f00 clippy: fix len_zero
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-06 12:50:43 +02:00
ljedrz
7c15eabd5e clippy: fix or_fun_call
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-06 12:50:43 +02:00
ljedrz
ffef5089f7 clippy: fix new_without_default
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-06 12:50:43 +02:00
ljedrz
80bb3033fd clippy: fix single_char_pattern
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-06 12:50:43 +02:00
ljedrz
c21b5ad2f3 clippy: fix useless_format
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-06 12:12:35 +02:00
ljedrz
0cf7a247cc clippy: fix needless_return
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-05 17:16:44 +02:00
collin
692417a952 add license header check and missing licenses 2020-09-20 15:27:02 -07:00