Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use bash to setup hconf #864

Merged
merged 2 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/actions/setup-hs/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,18 @@ inputs:
runs:
using: "composite"
steps:
- uses: actions/setup-node@v3
- name: Download HConf
- name: Install/Setup HConf
shell: bash
run: |
npm i
npm run hconf
curl -sSL https://raw.githubusercontent.com/nalchevanidze/hconf/main/scripts/install.sh | sh -s .
hconf setup ${{ inputs.ghc }}

- uses: actions/setup-node@v3

- name: Install NPM
shell: bash
run: npm i

- name: HConf Haskell
uses: haskell/actions/[email protected]
with:
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"check:spelling": "cspell --cache --no-progress '**/*.hs'",
"changelog": "npm run release changelog",
"release": "ts-node scripts/cli.ts release",
"hconf": "ts-node scripts/cli.ts hconf",
"format": "ts-node scripts/cli.ts format",
"format:fix": "ts-node scripts/cli.ts format --fix=true",
"code-gen": "morpheus build morpheus-graphql-server/test examples/code-gen examples/code-gen-docs",
Expand Down
3 changes: 0 additions & 3 deletions scripts/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { changelog } from "./lib/changelog";

import { Command } from "commander";
import { format } from "./lib/format";
import { setupHconf } from "./lib/hconf";

const cli = new Command();

Expand All @@ -17,8 +16,6 @@ cli
.option("--path <string>", "path", "./morpheus-graphql*/**/*.hs")
.action(format);

cli.command("hconf").action(setupHconf);

const release = cli.command("release");

release
Expand Down
23 changes: 0 additions & 23 deletions scripts/lib/hconf.ts

This file was deleted.

Loading