Browse Source

Move command struct and parser to command.rs

pull/21/head
Steve Cook 2 years ago
parent
commit
4c5929715c
  1. 0
      src/command.rs
  2. 4
      src/lib.rs
  3. 2
      src/main.rs

0
src/commands/mod.rs → src/command.rs

4
src/lib.rs

@ -1,8 +1,8 @@
extern crate core; extern crate core;
pub mod commands; pub mod command;
use crate::commands::{CargoCommand, Input}; use crate::command::{CargoCommand, Input};
use cargo_metadata::{Message, MetadataCommand}; use cargo_metadata::{Message, MetadataCommand};
use core::fmt; use core::fmt;
use rustc_version::Channel; use rustc_version::Channel;

2
src/main.rs

@ -1,4 +1,4 @@
use cargo_3ds::commands::Cargo; use cargo_3ds::command::Cargo;
use cargo_3ds::{ use cargo_3ds::{
build_3dsx, build_elf, build_smdh, check_rust_version, get_message_format, get_metadata, build_3dsx, build_elf, build_smdh, check_rust_version, get_message_format, get_metadata,
get_should_link, link, get_should_link, link,

Loading…
Cancel
Save