List of commits:
Subject Hash Author Date (UTC)
dont run if build fails 4986cf7e97d2019b61cae2970030ebb3c1a51168 Ubuntu 2020-04-05 23:10:42
test56 64c03cd6b03d61600e12a76c6ab623f7567b7ed8 Ubuntu 2020-04-01 05:11:28
test10 0596a0ef4052813eb8b2431096d5ff2f969f3ec9 Ubuntu 2020-04-01 05:03:21
test9 648cfb34e18d9ef6e8f9f33088b601aeeaed47b9 Ubuntu 2020-04-01 04:59:38
test8 c7d23043bad421e9ee06269567d97e3f894b58bb Ubuntu 2020-04-01 04:55:36
test6 cb9441b6be2b8175bd0d338decddb1eef82a15a6 Ubuntu 2020-04-01 04:52:26
test5] bcfbe9a0238a8ab5046211b9302f8fe71d1fc6af Ubuntu 2020-04-01 04:50:04
test4 01789d82fd44bb05952a4b0f51314b3d6005d4db Ubuntu 2020-04-01 04:31:30
test3 12f4cdd3d957d06a0810227df38e319e7e5aaa7e Ubuntu 2020-04-01 04:29:32
test2 25199a1879f59b73c3545817dcc38094c8794c3c Ubuntu 2020-04-01 04:06:40
test 71b0bb453140d43fe2019d98349ba9abe2e2b0b5 Ubuntu 2020-04-01 04:01:32
format 07fea6d901a0a1b39e113ed2eab2521bb84e4dcf Ubuntu 2020-03-31 04:36:04
yml support a0aca84f236cf2c0ac729030c3031999419530e2 Ubuntu 2020-03-30 19:20:30
prettier c0a36395356a8e6b165785b5e2dd5486fa22206d Ubuntu 2020-03-30 04:06:19
fix shit 4e786cec2b361164d67318fb9bc4d3e16b5e3156 Ubuntu 2020-03-30 02:55:58
color output 79515e592fad2cee9a985e0050969f6901451e93 Ubuntu 2020-03-30 02:42:46
output 6eec625ecbd51533330d2a1b618d28a433ae1ee4 Ubuntu 2020-03-30 02:37:25
works 1ee1f753c7dc99e4a91665d48ba7d60fd731b138 Ubuntu 2020-03-30 02:33:45
running test 08bdfaabe6111f35074dc1af59197fcc3af7ae3c Ubuntu 2020-03-30 02:23:19
building 249893d05180fa7cd770c22cef1714cc89c4318b Ubuntu 2020-03-30 02:17:05
Commit 4986cf7e97d2019b61cae2970030ebb3c1a51168 - dont run if build fails
Author: Ubuntu
Author date (UTC): 2020-04-05 23:10
Committer name: Ubuntu
Committer date (UTC): 2020-04-05 23:10
Parent(s): 64c03cd6b03d61600e12a76c6ab623f7567b7ed8
Signing key:
Tree: 46777a7ee6508e7c44489d96fcc4537ad39a637a
File Lines added Lines deleted
index.js 24 12
File index.js changed (mode: 100755) (index 65c17d9..8bb6b10)
... ... const fs = require("fs"),
9 9 argv = require("minimist")(process.argv.slice(2)), argv = require("minimist")(process.argv.slice(2)),
10 10 defPath = argv.p ? argv.p : argv.project; defPath = argv.p ? argv.p : argv.project;
11 11
12 let assertionsPassed = 0;
13 12 if (argv.test || argv.t) { if (argv.test || argv.t) {
14 console.time("total");
13 const tag = "duration";
14 console.time(tag);
15 15 process.on("exit", () => { process.on("exit", () => {
16 console.log(`assertions passed: ${assertionsPassed}`);
17 16 cursor.green(); cursor.green();
18 console.timeEnd("total");
17 console.timeEnd(tag);
19 18 cursor.reset(); cursor.reset();
20 19 }); });
21 20 } }
 
... ... function processDef(defPath) {
48 47 if (argv.verbose || argv.v) { if (argv.verbose || argv.v) {
49 48 console.log(result); console.log(result);
50 49 } }
51 shell.exec(result);
52 shell.exec("./test", { cwd: tmpDir });
53 fs.readFile(path.join(tmpDir, "result.json"), "utf8", (err, result) => {
54 if (!err) {
55 const resultObj = JSON.parse(result);
56 assertionsPassed += resultObj.passed;
57 }
58 });
50 let build = shell.exec(result);
51 if (build.code == 0) {
52 let assertionsPassed = 0;
53 process.on("exit", () => {
54 cursor.green();
55 console.log(`assertions passed: ${assertionsPassed}`);
56 cursor.reset();
57 });
58
59 shell.exec("./test", { cwd: tmpDir });
60 fs.readFile(
61 path.join(tmpDir, "result.json"),
62 "utf8",
63 (err, result) => {
64 if (!err) {
65 const resultObj = JSON.parse(result);
66 assertionsPassed += resultObj.passed;
67 }
68 }
69 );
70 }
59 71 }); });
60 72 } else { } else {
61 73 console.log(result); console.log(result);
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/ccargs

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

Clone this repository using git:
git clone git://git.rocketgit.com/user/mucbuc/ccargs

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