chore: removed github workflows

This commit is contained in:
Zhongheng Liu 2025-07-06 19:00:36 +03:00
commit a2f4ace863
Signed by: steven
GPG key ID: 805A28B071DAD84B
7 changed files with 46 additions and 202 deletions

View file

@ -18,28 +18,6 @@
hello.exec = "echo $GREET";
cat.exec = "bat $@";
build.exec = "go build -o ./bin/";
show = {
# Prints scripts that have a description
# Adapted from https://github.com/cachix/devenv/blob/ef61728d91ad5eb91f86cdbcc16070602e7afa16/examples/scripts/devenv.nix#L34
exec = ''
GREEN="\033[0;32m";
YELLOW="\033[33m";
NC="\033[0m";
echo
echo -e " Helper scripts you can run to make your development richer:"
echo
${pkgs.gnused}/bin/sed -e 's| ||g' -e 's|=| |' <<EOF | ${pkgs.util-linuxMinimal}/bin/column -t | ${pkgs.gnused}/bin/sed -e "s|^\([^ ]*\)|$(printf "$GREEN")\1$(printf "$NC"): |" -e "s|^|$(printf "$YELLOW*$NC") |" -e 's|| |g'
${lib.generators.toKeyValue { } (
lib.mapAttrs (name: value: value.description) (
lib.filterAttrs (_: value: value.description != "") config.scripts
)
)}
EOF
echo
'';
description = "Print this message and exit.";
};
};
# https://devenv.sh/packages/
@ -55,12 +33,11 @@
languages = {
go.enable = true;
};
enterShell = ''
hello
show'';
'';
# https://devenv.sh/pre-commit-hooks/
pre-commit.hooks = {
@ -77,9 +54,4 @@
# Make diffs fantastic
difftastic.enable = true;
# https://devenv.sh/integrations/dotenv/
dotenv.enable = true;
# https://devenv.sh/integrations/codespaces-devcontainer/
devcontainer.enable = true;
}