Skip to content

Commit

Permalink
feat: submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
rin-st committed Aug 28, 2024
1 parent 6ae9b14 commit 0cdfb6b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
config: [foundry]
steps:
- uses: actions/checkout@v4
- with:
submodules: recursive

- name: Setup Node.js 18.x
uses: actions/setup-node@v4
Expand Down
10 changes: 5 additions & 5 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { promptForMissingOptions } from "./utils/prompt-for-missing-options";
import { renderIntroMessage } from "./utils/render-intro-message";
import type { Args } from "./types";
import chalk from "chalk";
// import { SOLIDITY_FRAMEWORKS } from "./utils/consts";
// import { validateFoundryUp } from "./utils/system-validation";
import { SOLIDITY_FRAMEWORKS } from "./utils/consts";
import { validateFoundryUp } from "./utils/system-validation";
import { showHelpMessage } from "./utils/show-help-message";

export async function cli(args: Args) {
Expand All @@ -18,9 +18,9 @@ export async function cli(args: Args) {
}

const options = await promptForMissingOptions(rawOptions, solidityFrameworkChoices);
// if (options.solidityFramework === SOLIDITY_FRAMEWORKS.FOUNDRY) {
// await validateFoundryUp();
// }
if (options.solidityFramework === SOLIDITY_FRAMEWORKS.FOUNDRY) {
await validateFoundryUp();
}

await createProject(options);
} catch (error: any) {
Expand Down

0 comments on commit 0cdfb6b

Please sign in to comment.