Skip to content

zoutepopcorn/nodecpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

compile, run main.cpp on filechange

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published