nodecpp

0.0.6 • Public • Published

nodecpp

This wil compile and run main.cpp on a filechange from main.cpp

It will run:

g++ main.cpp -o main
./main

install

npm i . -g

or with npm

npm i nodecpp -g

run

You need to have a file main.cpp in the directory

#include <iostream>

int main() {
    std::cout << "Hallo, nodecpp" << std::endl;
    return 0;
}

than run

nodecpp

if you want to run other files

nodecpp other

Thats it. For now it will not watch other files

Package Sidebar

Install

npm i nodecpp

Weekly Downloads

0

Version

0.0.6

License

ISC

Unpacked Size

39.9 kB

Total Files

7

Last publish

Collaborators

  • zoutepopcorn