Code Monkey home page Code Monkey logo

bsgradleclone's People

Contributors

unnaturalistic avatar

Stargazers

 avatar

Watchers

 avatar

bsgradleclone's Issues

improved GetToml method and better RunAfter task

GetToml method

Currently the method only gets the required data and returns them based on the int a
Stuff to fix:

  • better return method
  • better toml analyze step
    GetToml method:
    public static String GetToml(int a) {
        GroupID = toml.getString("GroupID");
        mainclass = toml.getString("mainclass");
        if (a == 1) {
            return GroupID;
        } else if (a == 2) {
            return mainclass;
        } else {
            System.out.println("Invalid toml mode");
        }
        return null;
    }

RunAfter task

this "task" runs the compiled .class files after the compile step.
stuff to fix:

  • make it actually run the .class files
  • check the environment so it doesn't shit it self
    RunAfter task:
        if (Objects.equals(args[0], "runa")) {
            runProcess("java " + directoryPathy + mainclass);
        }

runProcess:

    private static void runProcess(String command) throws Exception {
        Process pro = Runtime.getRuntime().exec(command);
        printLines(command + " stdout:", pro.getInputStream());
        printLines(command + " stderr:", pro.getErrorStream());
        pro.waitFor();
        System.out.println(command + " exitValue() " + pro.exitValue());
    }

printLines:

    private static void printLines(String cmd, InputStream ins) throws Exception {
        String line = null;
        BufferedReader in = new BufferedReader(
                new InputStreamReader(ins));
        while ((line = in.readLine()) != null) {
            System.out.println(cmd + " " + line);
        }
    }

Add sex

I want to fuck gradle please add sex please

Bring back Gex

Ever since I was a wee lad, I loved Gex. To see him removed from BsGradleClone, a famous Yume Nikki fangame developed in the Scratch Jr. programming language, released in 1984 is sickening, I hope you're ashamed of yourself.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.