herc should do what I want
This commit is contained in:
parent
90d7d1f118
commit
a5e9e26a15
25
flake.nix
25
flake.nix
|
@ -50,7 +50,6 @@
|
||||||
# building
|
# building
|
||||||
packages = flake-utils.lib.flattenTree {
|
packages = flake-utils.lib.flattenTree {
|
||||||
default = website.website;
|
default = website.website;
|
||||||
lang-build = lang.lang-build;
|
|
||||||
lang-bundle = lang.lang-bundle;
|
lang-bundle = lang.lang-bundle;
|
||||||
components = components.components-package-build;
|
components = components.components-package-build;
|
||||||
storybook = components.components-site-build;
|
storybook = components.components-site-build;
|
||||||
|
@ -68,30 +67,30 @@
|
||||||
hciSystem = "x86_64-linux";
|
hciSystem = "x86_64-linux";
|
||||||
hciPkgs = import nixpkgs { system = hciSystem; };
|
hciPkgs = import nixpkgs { system = hciSystem; };
|
||||||
effects = hercules-ci-effects.lib.withPkgs hciPkgs;
|
effects = hercules-ci-effects.lib.withPkgs hciPkgs;
|
||||||
local = localFlake {
|
lang = langFn hciPkgs;
|
||||||
pkgs = hciPkgs;
|
components = componentsFn hciPkgs;
|
||||||
};
|
website = websiteFn hciPkgs;
|
||||||
in {
|
in {
|
||||||
# herc
|
# herc
|
||||||
herculesCI = {
|
herculesCI = {
|
||||||
ciSystems = [ hciSystem ];
|
ciSystems = [ hciSystem ];
|
||||||
onPush = {
|
onPush = {
|
||||||
lang.outputs = {
|
lang.outputs = {
|
||||||
squiggle-lang-lint = local.checks.${hciSystem}.lang-lint;
|
squiggle-lang-lint = lang.lang-lint;
|
||||||
squiggle-lang-test = local.checks.${hciSystem}.lang-test;
|
squiggle-lang-build = lang.lang-build;
|
||||||
# squiggle-lang-build = lang.lang-build;
|
squiggle-lang-test = lang.lang-test;
|
||||||
squiggle-lang-bundle = local.packages.${hciSystem}.lang-bundle;
|
squiggle-lang-bundle = lang.lang-bundle;
|
||||||
};
|
};
|
||||||
components.outputs = {
|
components.outputs = {
|
||||||
squiggle-components = local.packages.${hciSystem}.components;
|
squiggle-components = components.components-package-build;
|
||||||
squiggle-components-lint =
|
squiggle-components-lint =
|
||||||
local.checks.${hciSystem}.components-lint;
|
components.components-lint;
|
||||||
squiggle-components-storybook =
|
squiggle-components-storybook =
|
||||||
local.packages.${hciSystem}.storybook;
|
components.storybook;
|
||||||
};
|
};
|
||||||
docs-site.outputs = {
|
docs-site.outputs = {
|
||||||
squiggle-website = local.packages.${hciSystem}.docs-site;
|
squiggle-website = website.website;
|
||||||
docusaurus-lint = local.checks.${hciSystem}.docusaurus-lint;
|
docusaurus-lint = website.docusaurus-lint;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user