Commit Graph

111 Commits

Author SHA1 Message Date
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
77a0af18fe chore(leo): bump version for new release 2021-02-26 19:42:35 -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
777a67fb40 Adds README.md 2021-02-10 22:27:37 -08:00
howardwu
55db999a9e Adds LICENSE.md 2021-02-10 22:23:45 -08:00
howardwu
1898cc6840 chore(leo): bump version for new release 2021-02-07 08:14:56 -08:00
howardwu
90fc6a9c12 chore(leo): bump version for new release 2021-02-03 13:34:03 -08:00
howardwu
0d907bbb26 chore(leo): bump version for new release 2021-02-03 12:36:17 -08: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
1a36a262b8 chore(leo): bump version for new release 2021-01-12 17:03:16 -04:00
howardwu
bf2280e400 Add bash highlighting 2021-01-03 18:09:14 -04:00
Howard Wu
5a0c924c05
Merge pull request #517 from AleoHQ/feat/readme
Update Leo package README with a simple build guide
2021-01-02 18:17:01 -04:00
howardwu
38edf4858f Add a readme for leo-package 2020-12-30 00:28:39 -04:00
howardwu
3f79420011 Update README logic with build guide 2020-12-30 00:24:46 -04:00
howardwu
13f83a434c Remove serde_json from leo-package 2020-12-20 10:24:33 -04:00
howardwu
9038c5a17a chore(leo): bump version for new release 2020-12-14 13:57:01 -04:00
howardwu
dbae691e49 chore(leo): bump version for new release 2020-12-03 16:16:42 -04:00
howardwu
74f7f24b19 chore(leo): bump version for new release 2020-12-01 22:57:11 -04:00
howardwu
0d966d1d5c chore(leo): bump version for new release 2020-11-06 19:56:12 -08:00
collin
c9b7b0ccc6 Merge branch 'master' of github.com:AleoHQ/leo into feature/license-header 2020-10-21 12:18:54 -07:00
ljedrz
4591a0eb04 refactor: use &Path instead of (&)PathBuf in tests 2020-10-16 17:23:22 +02: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
98baae93c1 clippy: assorted fixes to tests and benches
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-06 15:09:03 +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
raychu86
ec9daf62e6 Implement package tests 2020-09-13 21:53:09 -07:00
raychu86
a036dc8ac3 Fix manifest update logic 2020-09-13 18:49:45 -07:00
raychu86
beb4ed420f Refactor feature names 2020-09-13 18:23:17 -07:00
raychu86
5f5c887846 Separate the update_manifest feature into remote and package features 2020-09-13 18:12:19 -07:00
raychu86
515dc8204b Add feature flag for updating the manifest 2020-09-13 18:02:47 -07:00