Skip to content

Commit

Permalink
workspace: tidy tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
cdaringe committed Mar 2, 2024
1 parent 9a9addc commit 4d2cf1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ jobs:
rebar3-version: "3"
# elixir-version: "1.15.4"
- run: gleam deps download
- run: gleam test
- run: gleam format --check src test
- run: gleam test
11 changes: 2 additions & 9 deletions rad.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,11 @@ const format: Task = `gleam format`;
const gleamTest: Task = {
dependsOn: [clean],
fn: async (toolkit) => {
const { fs, path, logger, Deno, sh, task } = toolkit;
await sh(`gleam test`);
await toolkit.sh(`gleam test`);
},
};

const test: Task = {
dependsOn: [gleamTest, clean],
// fn: async (toolkit) => {
// const { fs, path, logger, Deno, sh, task } = toolkit;
// await sh(`gleam test`);
// },
};
const test: Task = { dependsOn: [gleamTest] };

export const tasks: Tasks = {
clean,
Expand Down

0 comments on commit 4d2cf1d

Please sign in to comment.