Skip to content

Commit

Permalink
Move dummy.go to scripts/* (knative#238)
Browse files Browse the repository at this point in the history
* Move dummy.go to scripts/

* Update scripts/dummy.go

Co-Authored-By: srinivashegde86 <[email protected]>

* Update scripts/dummy.go

Co-Authored-By: srinivashegde86 <[email protected]>

* Re-add dummy.go in root dir

* Add blank lines
  • Loading branch information
srinivashegde86 authored and knative-prow-robot committed Nov 5, 2018
1 parent dc08958 commit f710a70
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
17 changes: 17 additions & 0 deletions dummy.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
Copyright 2018 The Knative Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package main

import (
Expand All @@ -8,3 +24,4 @@ func main() {
fmt.Println("This is a dummy go file so `go dep` can be used with knative/test-infra repo")
fmt.Println("This file can be removed once the repo contains real, useful go code in the root dir")
}

26 changes: 26 additions & 0 deletions scripts/dummy.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
Copyright 2018 The Knative Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package scripts

import (
"fmt"
)

func main() {
fmt.Println("This is a dummy go file so `go dep` can be used with knative/test-infra/scripts")
fmt.Println("This file can be safely removed if one day this directory contains real, useful go code")
}

0 comments on commit f710a70

Please sign in to comment.