chose: refactor and cleanup of main files

This commit is contained in:
Abdellah El Morabit 2025-11-15 23:18:16 +01:00
parent 380663c7e9
commit df8cf59890
6 changed files with 31 additions and 5 deletions

2
.gitignore vendored
View File

@ -3,6 +3,8 @@
target/ target/
project/target project/target
project/project/ project/project/
.bloop/
.metals/
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid* hs_err_pid*

6
ALU Normal file
View File

@ -0,0 +1,6 @@
package com.nsrddyn.torque.cpu
class ALU() extends Cpu() {
}

View File

@ -3,3 +3,4 @@ version := "1.0"
name := "torque" name := "torque"
organization := "com.nsrddyn" organization := "com.nsrddyn"
libraryDependencies += "dev.zio" %% "zio" % "2.1.22"

View File

@ -0,0 +1,10 @@
package com.nsrddyn
object Torque {
def main(args: Array[String]): Unit = {
println("--- TORQUE STRESS TESTING UTILITY ---")
}
}

View File

@ -0,0 +1,12 @@
package com.nsrddyn
/*
* cpu object, only one instance of an object needed
*/
object Cpu {
val name = ""
}

View File

@ -1,5 +0,0 @@
package com.nsrddyn
def main(args: Array[String]) : Unit = {
println("Hello World!")
}