stub
This commit is contained in:
parent
77a876481b
commit
754d09698b
@ -7,4 +7,9 @@ ports:
|
||||
|
||||
vscode:
|
||||
extensions:
|
||||
- kalitaalexey.vscode-rust@0.4.2:iw09QffwKU6Xcxr7C2zalA==
|
||||
- kalitaalexey.vscode-rust@0.4.2:iw09QffwKU6Xcxr7C2zalA==
|
||||
- Swellaby.vscode-rust-test-adapter@0.11.0:Xg+YeZZQiVpVUsIkH+uiiw==
|
||||
- bungcip.better-toml@0.3.2:3QfgGxxYtGHfJKQU7H0nEw==
|
||||
- hbenl.vscode-test-explorer@2.15.0:koqDUMWDPJzELp/hdS/lWw==
|
||||
- belfz.search-crates-io@1.2.1:kSLnyrOhXtYPjQpKnMr4eQ==
|
||||
- serayuzgur.crates@0.4.7:HMkoguLcXp9M3ud7ac3eIw==
|
7
.vscode
Normal file
7
.vscode
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"editor.wordWrap": "on",
|
||||
"editor.renderWhitespace": "all",
|
||||
"editor.tabSize": 2,
|
||||
"editor.tabCompletion": "on",
|
||||
"crates.upToDateDecorator": "",
|
||||
}
|
@ -3,7 +3,7 @@
|
||||
[package]
|
||||
name = "zernif"
|
||||
description = "FIXME: description needed"
|
||||
keywords = ["package-manager"]
|
||||
keywords = ["system-manager"]
|
||||
version = "0.0.0"
|
||||
authors = ["Kreyren <KostWarCZE@RiXotStudio.cz>"]
|
||||
edition = "2018"
|
||||
|
@ -1 +0,0 @@
|
||||
This directory is used for various subcommands used by zernif
|
@ -68,18 +68,7 @@ fn main() {
|
||||
// NOTICE: Do not add else statement to catch unexpecteds since this is handled by clap
|
||||
// FIXME: Convert this statement in case which would seem like better implementation
|
||||
if let Some(_matches) = matches.subcommand_matches("resolve") {
|
||||
// Current approach: Download source to ... ?
|
||||
fixme!("Check if expected file hierarchy is present, if not prompt for init subcommand");
|
||||
fixme!("Initiate sandbox");
|
||||
fixme!("Allow multiple methods of sandboxing");
|
||||
fixme!("Fetch source");
|
||||
fixme!("Cache source");
|
||||
fixme!("Configure source");
|
||||
fixme!("Compile source");
|
||||
fixme!("Install source");
|
||||
fixme!("Add a method to customize the resolution by the end-user");
|
||||
// FIXME: Outputs user-unfriendly message
|
||||
unimplemented!("Resolving of packages is not yet implemented");
|
||||
zernif::resolve;
|
||||
} else if let Some(_matches) = matches.subcommand_matches("list") {
|
||||
fixme!("Output installed packages");
|
||||
unimplemented!("Listing is not yet implemented");
|
@ -1,3 +0,0 @@
|
||||
fn main() {
|
||||
unimplemented!("Package resolution is not yet implemented");
|
||||
}
|
@ -3,4 +3,7 @@
|
||||
*/
|
||||
|
||||
// Use modules
|
||||
pub mod modules;
|
||||
pub mod modules;
|
||||
|
||||
// Use subcommands
|
||||
pub mod subcoms;
|
3
src/subcoms/README.md
Normal file
3
src/subcoms/README.md
Normal file
@ -0,0 +1,3 @@
|
||||
This directory is used for various subcommands used by zernif
|
||||
|
||||
Note that this is non-standard directory which defines these subcommands as modules
|
6
src/subcoms/mod.rs
Normal file
6
src/subcoms/mod.rs
Normal file
@ -0,0 +1,6 @@
|
||||
/*
|
||||
File used for declaring modules as subcommands for zernif
|
||||
*/
|
||||
|
||||
// Resolution of packages
|
||||
pub mod resolve;
|
16
src/subcoms/resolve.rs
Normal file
16
src/subcoms/resolve.rs
Normal file
@ -0,0 +1,16 @@
|
||||
use zernif::fixme;
|
||||
|
||||
fn main() {
|
||||
// Current approach: Download source to ... ?
|
||||
fixme!("Check if expected file hierarchy is present, if not prompt for init subcommand");
|
||||
fixme!("Initiate sandbox");
|
||||
fixme!("Allow multiple methods of sandboxing");
|
||||
fixme!("Fetch source");
|
||||
fixme!("Cache source");
|
||||
fixme!("Configure source");
|
||||
fixme!("Compile source");
|
||||
fixme!("Install source");
|
||||
fixme!("Add a method to customize the resolution by the end-user");
|
||||
// FIXME: Outputs user-unfriendly message
|
||||
unimplemented!("Resolving of packages is not yet implemented");
|
||||
}
|
Loading…
Reference in New Issue
Block a user