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
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
4591a0eb04
refactor: use &Path instead of (&)PathBuf in tests
2020-10-16 17:23:22 +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
98baae93c1
clippy: assorted fixes to tests and benches
...
Signed-off-by: ljedrz <ljedrz@gmail.com>
2020-10-06 15:09:03 +02:00
raychu86
ec9daf62e6
Implement package tests
2020-09-13 21:53:09 -07:00
raychu86
848660cc01
Separate can_initialize and is_initialized in Package
2020-08-29 18:04:51 -07:00
raychu86
10a03aefa0
Create tests for package initialization
2020-08-29 17:58:36 -07:00
raychu86
bcb78bce9c
Create initial package test structure
2020-08-29 17:29:51 -07:00