This commit is contained in:
Kreyren 2020-02-07 06:17:04 +00:00
parent 80467364c6
commit c9f4dd043d
10 changed files with 56 additions and 10 deletions

@ -12,11 +12,8 @@ edition = "2018"
[dependencies]
# FIXME: Replace with latest once development is in gold
clap = "2.33.0"
# FIXME: Replace with latest once development is in gold
log = "0.4.8"
# FIXME: Replace with latest once development is in gold
die = "0.2.0"
# Used for repository management as alternative to 'make'
cargo-make = "0.26.2"
# Used for reading toml files
toml = "0.5.6"
toml = "0.5.6"
zernit-logger = { path = "src/libs/rustlang/zernit-logger" }

22
src/bin/main.cs Normal file

@ -0,0 +1,22 @@
// C# program to print Hello World!
using System;
// namespace declaration
namespace HelloWorldApp {
// Class declaration
class Geeks {
// Main Method
static void Main(string[] args) {
// statement
// printing Hello World!
Console.WriteLine("Hello World!");
// To prevents the screen from
// running and closing quickly
Console.ReadKey();
}
}
}

12
src/bin/main.jar Normal file

@ -0,0 +1,12 @@
/* This is a simple Java program.
FileName : "HelloWorld.java". */
class HelloWorld
{
// Your program begins with a call to main().
// Prints "Hello, World" to the terminal window.
public static void main(String args[])
{
System.out.println("Hello, World");
}
}

@ -15,7 +15,9 @@
// Sourcing
// FIXME-QA: Is this the best way to do this?
// FIXME: Source the crate based on the name in Cargo.toml
use zernit::fixme;
use zernit_logger::fixme;
// For argument management
use clap::{Arg, App, SubCommand};
fn main() {
fixme!("Add method to handle translations");
@ -25,7 +27,6 @@ fn main() {
// Capture arguments (https://docs.rs/clap/2.33.0/clap/)
// FIXME-BENCHMARK: Benchmark other option like structOpt (https://docs.rs/structopt/0.3.7/structopt/#subcommands)
// FIXME-TEST: Add test to make sure that clap works the way we want it
use clap::{Arg, App, SubCommand};
let matches = App::new("RXT0112")
.version("INIT_PHASE_VERSION") // Replace with valid versioning

@ -1,3 +1,3 @@
fn main() {
println('hello world')
println("hello world")
}

@ -3,7 +3,7 @@
*/
// Use modules
pub mod modules;
pub mod modules::rustlang;
// Use subcommands
pub mod subcoms;

@ -0,0 +1 @@
Directory for rustlang libraries (crates)

@ -0,0 +1,10 @@
# FIXME-METADATA: Add metadata
[package]
name = "zernit-logger"
version = "0.0.0"
authors = ["Kreyren <KostWarCZE@RiXotStudio.cz>"]
edition = "2018"
[dependencies]
die = "0.2.0"

@ -0,0 +1 @@
Custom logger designed for zernit project

@ -1,5 +1,7 @@
/*
FIXME-DOCS: Docummentation needed
This is a library used for logging of software actions
FIXME-DOCS: Add description
*/
// Macro to handle fixme messages