howardwu
ad5cad2a08
Update precommit hook to use stable for clippy
2021-02-01 20:28:33 -08:00
howardwu
c935d6a486
Update license to 2021
2021-02-01 20:26:56 -08:00
howardwu
c481f19fa7
Update clippy logic
2021-02-01 20:15:57 -08:00
Howard Wu
f2c5f3b266
Merge pull request #594 from AleoHQ/asg-merge
...
[Feature] Abstract Syntax Graph (ASG) - Base Implementation
2021-02-01 13:55:04 -08:00
collin
aa01421bdf
resolve todos
2021-02-01 11:42:34 -08:00
collin
f259828097
disable nightly clippy checks
2021-02-01 10:45:55 -08:00
collin
4f4d0d051d
ignore clippy::upper_case_acroynms in pest grammar crate
2021-02-01 09:36:53 -08:00
collin
99deb093f8
prefer rust fmt imports_granularity over deprecated merge_imports
2021-02-01 09:16:37 -08:00
collin
ebe730b387
merge asg-asg
2021-02-01 09:05:28 -08:00
collin
a5a8d08ed3
derive PartialEq
2021-02-01 09:04:07 -08:00
Protryon
a042e9f2df
ignore swap test
2021-02-01 08:57:02 -08:00
Protryon
0b4e093f82
fix iteration constyness
2021-02-01 08:57:02 -08:00
collin
d033abf15a
use @test annotation
2021-02-01 08:34:08 -08:00
collin
79e0da612d
add AstError to AsgConvertError
2021-01-30 16:39:29 -05:00
collin
38f65a7d81
Merge branch 'master' of github.com:AleoHQ/leo into asg-merge
2021-01-30 16:31:35 -05:00
Collin Chin
2849a27722
Merge pull request #587 from AleoHQ/update/cleanup
...
Removes leo-version from CLI
2021-01-30 14:17:51 -05:00
Collin Chin
66c736b3d7
Merge pull request #582 from AleoHQ/leo-add-no-logout
...
[CLI, CI] Leo add does not require login
2021-01-30 14:16:04 -05:00
Collin Chin
63e1192cb6
Merge branch 'asg-asg' into asg-comments
2021-01-29 14:28:34 -05:00
Collin Chin
9541e124f6
Merge pull request #573 from AleoHQ/asg-clippy
...
cargo +nightly clippy
2021-01-29 14:14:02 -05:00
collin
bc40eea2fe
comment on asg modules
2021-01-29 13:44:04 -05:00
Damir Shamanaev
95531ce50f
fixes formatting
2021-01-29 13:18:38 +03:00
Damir Shamanaev
8b6c3371d1
Using token on add if logged in
2021-01-29 12:39:17 +03:00
howardwu
263f52c408
Clippy
2021-01-28 20:10:05 -08:00
howardwu
e7246e146b
Simplify
2021-01-28 20:09:14 -08:00
Howard Wu
9aa0fb6069
Merge pull request #578 from AleoHQ/dependabot/cargo/serde-1.0.123
...
Bump serde from 1.0.122 to 1.0.123
2021-01-28 19:59:35 -08:00
howardwu
5791392dba
Forgo using tracing to list the versions without a log status
2021-01-28 19:55:53 -08:00
howardwu
0893f58a7c
Removes leo-version
2021-01-28 19:50:18 -08:00
collin
33563b0708
clean up asg imports
2021-01-28 16:13:48 -05:00
collin
c7c3514378
add comments to program
2021-01-28 16:01:57 -05:00
dependabot-preview[bot]
6b4439a243
Bump serde from 1.0.122 to 1.0.123
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.122 to 1.0.123.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.122...v1.0.123 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-28 15:05:49 +00:00
Collin Chin
772902e4b4
Merge pull request #561 from AleoHQ/feature/442-test-annotation
...
Feature/442 test annotation
2021-01-28 10:04:03 -05:00
collin
4a4fae7991
initial comments and style guidelines
2021-01-27 21:34:47 -05:00
gluaxspeed
4cfd06b94d
astError always included
2021-01-27 13:06:21 -05:00
Damir S
638f5ebbf0
adds leo logout command ( #572 )
2021-01-27 13:06:21 -05:00
gluaxspeed
2bda443d9c
added more tests
2021-01-27 12:10:34 -05:00
Damir Shamanaev
aca8cb6152
Merge remote-tracking branch 'origin/master' into leo-add-no-logout
2021-01-27 16:29:34 +03:00
Damir S
727981c639
adds leo logout command ( #572 )
2021-01-27 16:28:55 +03:00
Damir Shamanaev
d4a765398c
removes token check on leo add command
...
- loggin for leo add was not necessary
- login/logout CI is separated
- add/remove checked together w/o logging in
2021-01-27 15:33:01 +03:00
Protryon
754da358be
constyness
2021-01-26 20:05:08 -08:00
gluaxspeed
fbe466661a
re add io error to parsererror
2021-01-26 14:55:17 -05:00
collin
8c60774b29
remove unused ParserError code
2021-01-26 14:55:17 -05:00
collin
9d2c5587c9
return new AstError in ast main.rs
2021-01-26 14:55:16 -05:00
Damir Shamanaev
5ea2947664
changed workflow name - now leo-add
2021-01-26 14:55:16 -05:00
Damir Shamanaev
96739c95ca
Adds leo add and leo remove CI cycle
...
- requires ALEO_PM_USERNAME and ALEO_PM_PASSWORD to be set in secrets
- follows simple workflow: new-login-add-remove
2021-01-26 14:55:16 -05:00
dependabot-preview[bot]
295512474d
Bump serde from 1.0.119 to 1.0.122
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.119 to 1.0.122.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.119...v1.0.122 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-26 14:55:16 -05:00
dependabot-preview[bot]
9d528e7e2b
Bump criterion from 0.3.3 to 0.3.4
...
Bumps [criterion](https://github.com/bheisler/criterion.rs ) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/bheisler/criterion.rs/releases )
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bheisler/criterion.rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-26 14:55:16 -05:00
Damir Shamanaev
f9c4af4ba3
Adds empty line for help command in leo CLI
...
- clap 2.X has an issue with adding empty line in the end
- proper fixing of this problem should be by updating to V3
2021-01-26 14:55:16 -05:00
Damir Shamanaev
c6abb26ffe
removed accidental default implementations
2021-01-26 14:55:15 -05:00
Damir Shamanaev
941cf1e8c7
fixes #551 issues with leo login and add commands
...
- both bugs were due to missing error handling when JWT was not created
- was a problem only for non-authorized users
- added few minor changes in CLI output making it more helpful
2021-01-26 14:55:15 -05:00
collin
d7cced6e53
rustup update && cargo clippy
2021-01-26 14:55:15 -05:00