Skip to content

Commit

Permalink
Update nut.yml and version number
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieudelaro committed Jun 28, 2016
1 parent 30ecaff commit 470ec2e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func main() {

app := cli.NewApp()
app.Name = "nut"
app.Version = "0.1.3 dev"
app.Version = "0.1.4 dev"
app.Usage = "the development environment, containerized"
// app.EnableBashCompletion = true
app.Flags = []cli.Flag {
Expand Down
20 changes: 8 additions & 12 deletions nut.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
syntax_version: "6"
syntax_version: "7"
project_name: nut
docker_image: matthieudelaro/golang:1.6-cross
container_working_directory: /go/src/github.com/matthieudelaro/nut
mount:
main: # mount current directory
- .
- /go/src/github.com/matthieudelaro/nut
work_in_project_folder_as: /go/src/github.com/matthieudelaro/nut
macros:
setup:
usage: call after pulling the project, to install dependencies
Expand Down Expand Up @@ -48,10 +44,10 @@ macros:
- bw
run:
usage: run the project in the container
mount:
volumes:
dockersock: # mount docker socket run nut in a container
- /var/run/docker.sock
- /var/run/docker.sock
host_path: /var/run/docker.sock
container_path: /var/run/docker.sock
actions:
- ./`pwd | xargs basename`
test:
Expand All @@ -64,10 +60,10 @@ macros:
usage: open this project in vscode
docker_image: ctaggart/golang-vscode
enable_gui: true
mount:
volumes:
dockersock: # mount docker socket run nut in a container
- /var/run/docker.sock
- /var/run/docker.sock
host_path: /var/run/docker.sock
container_path: /var/run/docker.sock
security_opts:
- seccomp=unconfined
actions:
Expand Down

0 comments on commit 470ec2e

Please sign in to comment.