List of commits:
Subject Hash Author Date (UTC)
reading from prjetect dir 9b8e0802d9549e52041ffadeb085dae7f2b186b1 mucbuc 2020-01-27 06:12:39
formt script f991001a06fa70aed0c656635cf5d1c22b896652 mucbuc 2020-01-27 06:07:22
format 820f8f81267baf5de99a0115ff6e79efcc361f7a mucbuc 2020-01-27 06:06:19
first pass 0d21989109ebba5aa9ce330612da271998b7a441 mucbuc 2020-01-27 06:06:00
Commit 9b8e0802d9549e52041ffadeb085dae7f2b186b1 - reading from prjetect dir
Author: mucbuc
Author date (UTC): 2020-01-27 06:12
Committer name: mucbuc
Committer date (UTC): 2020-01-27 06:12
Parent(s): f991001a06fa70aed0c656635cf5d1c22b896652
Signing key:
Tree: 09ff622252d8177a78a78beee20c6bf6cd37eab1
File Lines added Lines deleted
index.js 7 5
File index.js changed (mode: 100755) (index d1009fd..2fc5391)
1 1 #!/usr/bin/env node #!/usr/bin/env node
2 2
3 3 const fs = require("fs"), const fs = require("fs"),
4 vm = require("vm");
4 vm = require("vm"),
5 path = require('path');
5 6
6 const [, , templatePath] = process.argv;
7 const [, , templatePath, projectPath] = process.argv;
7 8
8 if (templatePath) {
9 if (templatePath && projectPath) {
9 10 let template = fs.readFileSync(templatePath, "utf8"); let template = fs.readFileSync(templatePath, "utf8");
10
11 let context = { title: "Title", interface: "Interface" };
11 const interface = fs.readFileSync(path.join(projectPath,"src", "interface.h" ));
12
13 let context = { title: "Title", interface };
12 14 vm.createContext(context); vm.createContext(context);
13 15 let script = "result = `" + template + "`;"; let script = "result = `" + template + "`;";
14 16
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/mucbuc/doc-tool

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/mucbuc/doc-tool

Clone this repository using git:
git clone git://git.rocketgit.com/user/mucbuc/doc-tool

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main