Skip to content

Commit e6b1c96

Browse files
committed
move the go code up
Go really likes to have everything in the top-level
1 parent 6edee82 commit e6b1c96

File tree

13 files changed

+7
-13
lines changed

13 files changed

+7
-13
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
package cmd
22

33
import (
4-
"os"
54
"path/filepath"
65

7-
"github.com/numtide/devshell/devshell/config"
6+
"github.com/numtide/devshell/config"
87

98
"github.com/urfave/cli/v2"
109
)
File renamed without changes.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{ buildGoModule }:
22
let
3-
source = import ../nix/source.nix;
3+
source = import ./nix/source.nix;
44
in
55
buildGoModule {
66
name = "devshell";
@@ -9,6 +9,8 @@ buildGoModule {
99
allow = [
1010
./go.mod
1111
./go.sum
12+
./cmd
13+
./config
1214
(source.matchExt "go")
1315
];
1416
};

devshell/devshell.toml

Lines changed: 0 additions & 5 deletions
This file was deleted.

devshell/go.mod renamed to go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/numtide/devshell/devshell
1+
module github.com/numtide/devshell
22

33
go 1.15
44

0 commit comments

Comments
 (0)