Skip to content

Commit 408ec6e

Browse files
committed
start adding dependency checks
1 parent c90e7b2 commit 408ec6e

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

src/checks.ts

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { exec } from "@actions/exec";
2+
3+
/**
4+
* Check for necessary tools on the system:
5+
* - Git
6+
* - .NET CLI
7+
*/
8+
export async function dependencyChecks() : Promise<void> {
9+
}

src/main.ts

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import * as core from "@actions/core";
22
import { cloneRepository, buildProject } from "./themeConverter";
3+
import { dependencyChecks } from "./checks";
34

45
const WORK_DIRECTORY = "work";
56

@@ -9,6 +10,9 @@ const WORK_DIRECTORY = "work";
910
*/
1011
export async function run(): Promise<void> {
1112
try {
13+
// Run dependency checks first
14+
dependencyChecks();
15+
1216
// Clone and build ThemeConverter program
1317
cloneRepository(WORK_DIRECTORY).then(() =>
1418
buildProject(WORK_DIRECTORY),

0 commit comments

Comments
 (0)