Commit Graph

78 Commits

Author SHA1 Message Date
Syrus Akbary
250ebff4e8 Revert "Implement wasmer init and wasmer publish" 2022-12-16 14:09:55 -08:00
Felix Schütt
60323484ac Fix merge issues 2022-12-12 14:53:37 +01:00
Felix Schütt
3c66829b0d Finish wasmer publish & verify it to work manually 2022-12-12 14:33:49 +01:00
Felix Schütt
b993321409 Add wasmer publish command 2022-12-12 14:33:49 +01:00
Felix Schütt
a29cc7dede wasmer init: migrate to cargo_metadata 2022-12-12 14:33:49 +01:00
Felix Schütt
0dfa9a8bfa Add wasmer init 2022-12-12 14:33:49 +01:00
Felix Schütt
bc22701cae Add downloading .tar.gz URLs and new caching in checkouts dir 2022-12-09 13:09:57 +01:00
Felix Schütt
04eda8d546 Remove unnecessary clap(name = ) 2022-11-21 12:13:08 +01:00
Felix Schütt
8644fc2566 Fix make lint 2022-11-18 12:10:53 +01:00
Felix Schütt
1d6dd0d860 Merge branch 'master' into whoami 2022-11-18 12:05:47 +01:00
Michael-F-Bryan
3f09c82cab Delete PackageSpecifier in favour of SplitVersion 2022-11-18 01:59:33 +08:00
Michael-F-Bryan
8d46d34c58 Renamed "wasmer install" to "wasmer add" 2022-11-18 01:59:33 +08:00
Michael-F-Bryan
02e61302f4 Add install to the list of supported commands 2022-11-18 01:59:33 +08:00
Michael-F-Bryan
e630c50a69 Added an install command 2022-11-18 01:59:33 +08:00
Felix Schütt
33a2585b14 Update from master, fix merge conflicts 2022-11-17 15:28:59 +01:00
Felix Schütt
9d7ed9e04a Add wasmer whoami 2022-11-17 14:32:49 +01:00
Felix Schütt
509a5619c9 Implement wasmer login 2022-11-10 15:46:09 +01:00
Felix Schütt
70078e5630 Disable printing "local package ... not found" in release mode 2022-11-03 09:52:30 +01:00
Felix Schütt
9b0ac57e89 Fix failing unit test (refactor) 2022-10-24 18:18:17 +02:00
Felix Schütt
81350bc2a1 Adress review comments 2022-10-24 17:38:59 +02:00
Felix Schütt
71e7ee12b8 Fix CI 2022-10-19 17:49:48 +02:00
Felix Schütt
69cd380142 Fix issue with wasmer run not working correctly 2022-10-19 16:33:45 +02:00
Felix Schütt
d89db1f020 Fix bug when running file with directory 2022-10-19 16:07:12 +02:00
Felix Schütt
8eec46ad66 Fix "make lint" 2022-10-19 15:42:09 +02:00
Felix Schütt
b887a835af Fix integration test, add option to run directory with wapm.toml 2022-10-19 15:15:34 +02:00
Felix Schütt
1f59a5c81e Run packages via specifying directory instead of package name 2022-10-19 14:44:12 +02:00
Felix Schütt
5b165b634b Fix execution of python/python with wrong directory mapping 2022-10-18 20:16:41 +02:00
Felix Schütt
3dcd2a6ef8 Add support for specifying registry in CLI arg 2022-10-18 19:57:01 +02:00
Felix Schütt
fd5fa25a91 Do not auto-download packages if the execution failed 2022-10-18 18:33:25 +02:00
Felix Schütt
1a398c4adc Fix more wasmer run UX bugs 2022-10-18 10:08:25 +02:00
Felix Schütt
0f59d59eab Fix "make lint" 2022-10-18 09:25:50 +02:00
Felix Schütt
7c05da022a Fix issue when running wasmer/wit-pack and wabt
Fixed duplicated mapped directories when running the .wasm file
2022-10-18 09:19:05 +02:00
Felix Schütt
db16c2014e Rework "wasmer list" 2022-10-17 18:39:23 +02:00
Felix Schütt
a96049884f Add unit test and fix problems when installing package 2022-10-17 17:58:58 +02:00
Felix Schütt
f8f33a86ea Add --force install method (download packages without cooldown) 2022-10-14 09:24:19 +02:00
Felix Schütt
2c3f164ab2 Use anyhow::ensure 2022-10-13 19:22:36 +02:00
Felix Schütt
5f831fc886 Fix make lint 2022-10-13 19:19:14 +02:00
Felix Schütt
7419be1830 Merge RunWithoutFile and Run 2022-10-13 18:54:11 +02:00
Felix Schütt
a1548ec7ff Use split_once instead of split().nth(1) 2022-10-13 18:49:39 +02:00
Felix Schütt
600dc2dfc7 Replace package parsing with regex 2022-10-13 18:46:18 +02:00
Felix Schütt
0da844dc4d CLI: use get_subcommands() instead of manual definition 2022-10-13 17:56:55 +02:00
Felix Schütt
9e278c3a1e Fix make lint 2022-10-13 15:54:08 +02:00
Felix Schütt
471fd36720 Rework main CLI command flow into smaller functions 2022-10-13 12:54:48 +02:00
Felix Schütt
8f29862d72 Refactor creating SpinnerHandle 2022-10-11 11:19:51 +02:00
Felix Schütt
5b72f97876 Add option to auto-install packages by command name ("wasmer ls") 2022-10-10 15:47:43 +02:00
Felix Schütt
03fe253441 Fix CI 2022-10-10 12:04:48 +02:00
Felix Schütt
25c4fd4626 Fix issue with CLI run command not finding PathBuf to wasm file 2022-10-10 09:59:02 +02:00
Felix Schütt
0ed3be1d1b Fix clippy issues 2022-10-09 23:37:28 +02:00
Felix Schütt
5161078d40 cargo fmt 2022-10-09 19:46:58 +02:00
Felix Schütt
5bc191487e Try fixing errors when parsing CLI args: todo: undo clap migration 2022-10-07 15:57:44 +02:00