Skip to content

Commit

Permalink
chore: split into file per function
Browse files Browse the repository at this point in the history
* split write.ts into one file per function
  • Loading branch information
ktrz committed Jan 30, 2024
1 parent 785a741 commit 7605d51
Show file tree
Hide file tree
Showing 27 changed files with 645 additions and 552 deletions.
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
root = true

[*.ts]
indent_style = space
indent_size = 4
3 changes: 2 additions & 1 deletion scripts/ci_validate_modification.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import * as path from 'path';
import { promises as fs } from 'fs';
import * as cp from 'child_process';
import { BenchmarkSuites, DataJson, SCRIPT_PREFIX } from '../src/write';
import { BenchmarkSuites, DataJson } from '../src/write/types';
import { SCRIPT_PREFIX } from '../src/write/loadData';
import { VALID_TOOLS } from '../src/config';
import { Benchmark } from '../src/extract';
import { diff, Diff, DiffArray, DiffEdit, DiffNew } from 'deep-diff';
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as core from '@actions/core';
import { configFromJobInput } from './config';
import { extractResult } from './extract';

import { writeBenchmark } from './write';

async function main() {
Expand Down
Loading

0 comments on commit 7605d51

Please sign in to comment.