Skip to content

Commit

Permalink
remove the CLI
Browse files Browse the repository at this point in the history
The CLI is just another thing to install and that makes the
bootstrapping process longer. It also doesn't do much aside being yet
another frontend to Nix. Just use flakes.
  • Loading branch information
zimbatm committed Mar 3, 2023
1 parent b2503cd commit 8c1b8fb
Show file tree
Hide file tree
Showing 19 changed files with 3 additions and 467 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/goreleaser.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: |
export PRJ_ROOT=$PWD
$(./shell.nix)/entrypoint --pure bash -c "cd devshell && golangci-lint run"
$(./shell.nix)/entrypoint --pure bash -c "echo OK"
- run: nix-shell --run "echo OK"
- run: nix-build
flakes:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,4 @@ direnv mode.

1. Change files in `docs/`
2. Run `docs/serve.sh` (or the task in VSCode)
3. Visit [`localhost:8000`](http://localhost:8000)
3. Visit [`localhost:8000`](http://localhost:8000)
2 changes: 0 additions & 2 deletions bors.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ status = [
"build (macos-latest)",
"build (ubuntu-20.04)",
"default devShell [x86_64-linux]",
"default package [x86_64-linux]",
"docs (ubuntu-20.04)",
"flakes (ubuntu-20.04)",
"goreleaser"
]
3 changes: 0 additions & 3 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ let
builtins.foldl' op [ ] (builtins.attrNames data);
in
rec {
# CLI
cli = nixpkgs.callPackage ./devshell { };

# Folder that contains all the extra modules
extraModulesDir = toString ./extra;

Expand Down
9 changes: 0 additions & 9 deletions devshell/.golangci.yml

This file was deleted.

3 changes: 0 additions & 3 deletions devshell/README.md

This file was deleted.

21 changes: 0 additions & 21 deletions devshell/cmd/cmd.go

This file was deleted.

108 changes: 0 additions & 108 deletions devshell/cmd/enter.go

This file was deleted.

54 changes: 0 additions & 54 deletions devshell/cmd/init.go

This file was deleted.

65 changes: 0 additions & 65 deletions devshell/config/config.go

This file was deleted.

41 changes: 0 additions & 41 deletions devshell/config/init.go

This file was deleted.

Loading

0 comments on commit 8c1b8fb

Please sign in to comment.