Commit Graph

23 Commits

Author SHA1 Message Date
damirka
82f8e8a5ca clippy fixes 2021-08-03 01:46:18 +03: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
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
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
howardwu
c935d6a486 Update license to 2021 2021-02-01 20:26:56 -08: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
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
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
0cf7a247cc clippy: fix needless_return
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-05 17:16:44 +02:00
raychu86
1ab7c49e72 Implement remove imported package 2020-09-02 18:58:04 -07:00
raychu86
db997ac90a Add check that package has been initialized correctly 2020-08-29 18:08:05 -07:00
raychu86
848660cc01 Separate can_initialize and is_initialized in Package 2020-08-29 18:04:51 -07:00
raychu86
8d50a75854 Update error outputs for package initialization 2020-08-29 16:05:38 -07:00
raychu86
ac49c01c84 Implement is_initialized check for package 2020-08-29 15:01:02 -07:00
howardwu
d3e7e610b8 Rename lib -> library 2020-08-29 00:27:00 -07:00
howardwu
d67b5109d4 Update initialize to verify first, then initialize package 2020-08-29 00:24:13 -07:00
raychu86
920214e5cf Genericize LeoPackage interface 2020-08-28 23:14:22 -07:00
raychu86
ee308530f5 Update package declaration 2020-08-28 22:54:15 -07:00