-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
68 lines (46 loc) · 1.9 KB
/
Copy pathMakefile
File metadata and controls
68 lines (46 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
.PHONY: validate test typecheck generated check-generated check assemble-pipelines check-assemble-pipelines fixtures fixtures-nextflow fixtures-cwl fixtures-iwc fixtures-skeletons fixtures-verify fixtures-clean sync-planemo sync-planemo-cli sync-planemo-test-report-schema sync-planemo-cli-meta check-planemo-cli
FOUNDRY_BUILD := npx tsx packages/build-cli/src/bin/foundry-build.ts
PIPELINE_SLUGS := $(patsubst content/pipelines/%/index.md,%,$(wildcard content/pipelines/*/index.md))
validate:
npm run validate
test:
npm run test
typecheck:
npm run typecheck
generated:
npm run dashboard
npm run index
check-generated:
npm run check:dashboard
npm run check:index
assemble-pipelines:
@for p in $(PIPELINE_SLUGS); do echo "assemble $$p"; $(FOUNDRY_BUILD) assemble-pipeline --root . $$p || exit 1; done
check-assemble-pipelines:
@for p in $(PIPELINE_SLUGS); do $(FOUNDRY_BUILD) assemble-pipeline --root . $$p --check || exit 1; done
check: validate check-generated check-assemble-pipelines test
fixtures:
$(MAKE) -C workflow-fixtures all
fixtures-nextflow:
$(MAKE) -C workflow-fixtures nextflow
fixtures-cwl:
$(MAKE) -C workflow-fixtures cwl
fixtures-iwc:
$(MAKE) -C workflow-fixtures iwc
fixtures-skeletons:
$(MAKE) -C workflow-fixtures skeletons
fixtures-verify:
$(MAKE) -C workflow-fixtures verify
fixtures-clean:
$(MAKE) -C workflow-fixtures clean
# --- Planemo vendored artifacts ---
# Requires `planemo` on PATH. Pin version lives in content/cli/planemo/index.md.
# Install with: uvx --from planemo==<version> planemo --version
sync-planemo: sync-planemo-cli-meta sync-planemo-test-report-schema sync-planemo-cli
sync-planemo-cli:
npm run sync:planemo-cli
check-planemo-cli:
npm run check:planemo-cli
sync-planemo-test-report-schema:
pnpm --filter @galaxy-foundry/planemo-test-report-schema run sync:from-planemo
sync-planemo-cli-meta:
pnpm --filter @galaxy-foundry/planemo-cli-meta run sync:from-planemo