Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-cli
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Operations
Operations
Metrics
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-cli
Commits
c428dc37
Commit
c428dc37
authored
Jun 04, 2019
by
Cristian Maglie
Committed by
Cristian Maglie
Jun 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Global round of go-fmt
parent
5b724c6f
Changes
22
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
38 additions
and
38 deletions
+38
-38
commands/compile/compile.go
commands/compile/compile.go
+3
-3
legacy/builder/add_additional_entries_to_context.go
legacy/builder/add_additional_entries_to_context.go
+1
-1
legacy/builder/client/client.go
legacy/builder/client/client.go
+10
-10
legacy/builder/container_find_includes.go
legacy/builder/container_find_includes.go
+1
-1
legacy/builder/fail_if_imported_library_is_wrong.go
legacy/builder/fail_if_imported_library_is_wrong.go
+1
-1
legacy/builder/hardware_loader.go
legacy/builder/hardware_loader.go
+1
-1
legacy/builder/i18n/errors.go
legacy/builder/i18n/errors.go
+4
-4
legacy/builder/libraries_loader.go
legacy/builder/libraries_loader.go
+2
-2
legacy/builder/phases/libraries_builder.go
legacy/builder/phases/libraries_builder.go
+1
-1
legacy/builder/resolve_library.go
legacy/builder/resolve_library.go
+1
-1
legacy/builder/rewrite_hardware_keys.go
legacy/builder/rewrite_hardware_keys.go
+1
-1
legacy/builder/setup_build_properties.go
legacy/builder/setup_build_properties.go
+1
-1
legacy/builder/test/add_build_board_property_if_missing_test.go
.../builder/test/add_build_board_property_if_missing_test.go
+1
-1
legacy/builder/test/helper.go
legacy/builder/test/helper.go
+1
-1
legacy/builder/test/libraries_loader_test.go
legacy/builder/test/libraries_loader_test.go
+1
-1
legacy/builder/test/rewrite_hardware_keys_test.go
legacy/builder/test/rewrite_hardware_keys_test.go
+1
-1
legacy/builder/test/tools_loader_test.go
legacy/builder/test/tools_loader_test.go
+1
-1
legacy/builder/test/unused_compiled_libraries_remover_test.go
...cy/builder/test/unused_compiled_libraries_remover_test.go
+1
-1
legacy/builder/test/utils_test.go
legacy/builder/test/utils_test.go
+2
-2
legacy/builder/types/context.go
legacy/builder/types/context.go
+1
-1
legacy/builder/unused_compiled_libraries_remover.go
legacy/builder/unused_compiled_libraries_remover.go
+1
-1
legacy/builder/warn_about_platform_rewrites.go
legacy/builder/warn_about_platform_rewrites.go
+1
-1
No files found.
commands/compile/compile.go
View file @
c428dc37
...
...
@@ -26,14 +26,14 @@ import (
"sort"
"strings"
"github.com/arduino/arduino-cli/legacy/builder"
"github.com/arduino/arduino-cli/legacy/builder/i18n"
"github.com/arduino/arduino-cli/legacy/builder/types"
"github.com/arduino/arduino-cli/arduino/cores"
"github.com/arduino/arduino-cli/arduino/cores/packagemanager"
"github.com/arduino/arduino-cli/arduino/sketches"
"github.com/arduino/arduino-cli/cli"
"github.com/arduino/arduino-cli/commands"
"github.com/arduino/arduino-cli/legacy/builder"
"github.com/arduino/arduino-cli/legacy/builder/i18n"
"github.com/arduino/arduino-cli/legacy/builder/types"
"github.com/arduino/arduino-cli/rpc"
paths
"github.com/arduino/go-paths-helper"
properties
"github.com/arduino/go-properties-orderedmap"
...
...
legacy/builder/add_additional_entries_to_context.go
View file @
c428dc37
...
...
@@ -30,10 +30,10 @@
package
builder
import
(
"github.com/arduino/arduino-cli/arduino/cores"
"github.com/arduino/arduino-cli/legacy/builder/constants"
"github.com/arduino/arduino-cli/legacy/builder/i18n"
"github.com/arduino/arduino-cli/legacy/builder/types"
"github.com/arduino/arduino-cli/arduino/cores"
)
type
AddAdditionalEntriesToContext
struct
{}
...
...
legacy/builder/client/client.go
View file @
c428dc37
legacy/builder/container_find_includes.go
View file @
c428dc37
...
...
@@ -112,12 +112,12 @@ import (
"os/exec"
"time"
"github.com/arduino/arduino-cli/arduino/libraries"
"github.com/arduino/arduino-cli/legacy/builder/builder_utils"
"github.com/arduino/arduino-cli/legacy/builder/constants"
"github.com/arduino/arduino-cli/legacy/builder/i18n"
"github.com/arduino/arduino-cli/legacy/builder/types"
"github.com/arduino/arduino-cli/legacy/builder/utils"
"github.com/arduino/arduino-cli/arduino/libraries"
"github.com/arduino/go-paths-helper"
"github.com/go-errors/errors"
...
...
legacy/builder/fail_if_imported_library_is_wrong.go
View file @
c428dc37
...
...
@@ -30,10 +30,10 @@
package
builder
import
(
"github.com/arduino/arduino-cli/arduino/libraries"
"github.com/arduino/arduino-cli/legacy/builder/constants"
"github.com/arduino/arduino-cli/legacy/builder/i18n"
"github.com/arduino/arduino-cli/legacy/builder/types"
"github.com/arduino/arduino-cli/arduino/libraries"
)
type
FailIfImportedLibraryIsWrong
struct
{}
...
...
legacy/builder/hardware_loader.go
View file @
c428dc37
...
...
@@ -30,9 +30,9 @@
package
builder
import
(
"github.com/arduino/arduino-cli/arduino/cores/packagemanager"
"github.com/arduino/arduino-cli/legacy/builder/i18n"
"github.com/arduino/arduino-cli/legacy/builder/types"
"github.com/arduino/arduino-cli/arduino/cores/packagemanager"
)
type
HardwareLoader
struct
{}
...
...
legacy/builder/i18n/errors.go
View file @
c428dc37
legacy/builder/libraries_loader.go
View file @
c428dc37
...
...
@@ -32,11 +32,11 @@ package builder
import
(
"os"
"github.com/arduino/arduino-cli/legacy/builder/i18n"
"github.com/arduino/arduino-cli/legacy/builder/types"
"github.com/arduino/arduino-cli/arduino/libraries"
"github.com/arduino/arduino-cli/arduino/libraries/librariesmanager"
"github.com/arduino/arduino-cli/arduino/libraries/librariesresolver"
"github.com/arduino/arduino-cli/legacy/builder/i18n"
"github.com/arduino/arduino-cli/legacy/builder/types"
)
type
LibrariesLoader
struct
{}
...
...
legacy/builder/phases/libraries_builder.go
View file @
c428dc37
...
...
@@ -33,12 +33,12 @@ import (
"path/filepath"
"strings"
"github.com/arduino/arduino-cli/arduino/libraries"
"github.com/arduino/arduino-cli/legacy/builder/builder_utils"
"github.com/arduino/arduino-cli/legacy/builder/constants"
"github.com/arduino/arduino-cli/legacy/builder/i18n"
"github.com/arduino/arduino-cli/legacy/builder/types"
"github.com/arduino/arduino-cli/legacy/builder/utils"
"github.com/arduino/arduino-cli/arduino/libraries"
"github.com/arduino/go-paths-helper"
"github.com/arduino/go-properties-orderedmap"
)
...
...
legacy/builder/resolve_library.go
View file @
c428dc37
...
...
@@ -32,9 +32,9 @@ package builder
import
(
"fmt"
"github.com/arduino/arduino-cli/arduino/libraries"
"github.com/arduino/arduino-cli/legacy/builder/constants"
"github.com/arduino/arduino-cli/legacy/builder/types"
"github.com/arduino/arduino-cli/arduino/libraries"
)
func
ResolveLibrary
(
ctx
*
types
.
Context
,
header
string
)
*
libraries
.
Library
{
...
...
legacy/builder/rewrite_hardware_keys.go
View file @
c428dc37
...
...
@@ -30,9 +30,9 @@
package
builder
import
(
"github.com/arduino/arduino-cli/arduino/cores"
"github.com/arduino/arduino-cli/legacy/builder/constants"
"github.com/arduino/arduino-cli/legacy/builder/types"
"github.com/arduino/arduino-cli/arduino/cores"
)
type
RewriteHardwareKeys
struct
{}
...
...
legacy/builder/setup_build_properties.go
View file @
c428dc37
...
...
@@ -36,9 +36,9 @@ import (
"strings"
"time"
"github.com/arduino/arduino-cli/arduino/cores"
"github.com/arduino/arduino-cli/legacy/builder/types"
"github.com/arduino/arduino-cli/legacy/builder/utils"
"github.com/arduino/arduino-cli/arduino/cores"
properties
"github.com/arduino/go-properties-orderedmap"
timeutils
"github.com/arduino/go-timeutils"
)
...
...
legacy/builder/test/add_build_board_property_if_missing_test.go
View file @
c428dc37
...
...
@@ -33,9 +33,9 @@ import (
"path/filepath"
"testing"
"github.com/arduino/arduino-cli/arduino/cores"
"github.com/arduino/arduino-cli/legacy/builder"
"github.com/arduino/arduino-cli/legacy/builder/types"
"github.com/arduino/arduino-cli/arduino/cores"
"github.com/arduino/go-paths-helper"
"github.com/stretchr/testify/require"
)
...
...
legacy/builder/test/helper.go
View file @
c428dc37
...
...
@@ -37,10 +37,10 @@ import (
"testing"
"text/template"
"github.com/arduino/arduino-cli/arduino/libraries"
"github.com/arduino/arduino-cli/legacy/builder/constants"
"github.com/arduino/arduino-cli/legacy/builder/types"
"github.com/arduino/arduino-cli/legacy/builder/utils"
"github.com/arduino/arduino-cli/arduino/libraries"
paths
"github.com/arduino/go-paths-helper"
"github.com/go-errors/errors"
"github.com/stretchr/testify/assert"
...
...
legacy/builder/test/libraries_loader_test.go
View file @
c428dc37
...
...
@@ -34,10 +34,10 @@ import (
"sort"
"testing"
"github.com/arduino/arduino-cli/arduino/libraries"
"github.com/arduino/arduino-cli/legacy/builder"
"github.com/arduino/arduino-cli/legacy/builder/constants"
"github.com/arduino/arduino-cli/legacy/builder/types"
"github.com/arduino/arduino-cli/arduino/libraries"
paths
"github.com/arduino/go-paths-helper"
"github.com/stretchr/testify/require"
)
...
...
legacy/builder/test/rewrite_hardware_keys_test.go
View file @
c428dc37
...
...
@@ -32,9 +32,9 @@ package test
import
(
"testing"
"github.com/arduino/arduino-cli/arduino/cores"
"github.com/arduino/arduino-cli/legacy/builder"
"github.com/arduino/arduino-cli/legacy/builder/types"
"github.com/arduino/arduino-cli/arduino/cores"
properties
"github.com/arduino/go-properties-orderedmap"
"github.com/stretchr/testify/require"
)
...
...
legacy/builder/test/tools_loader_test.go
View file @
c428dc37
...
...
@@ -33,9 +33,9 @@ import (
"sort"
"testing"
"github.com/arduino/arduino-cli/arduino/cores"
"github.com/arduino/arduino-cli/legacy/builder"
"github.com/arduino/arduino-cli/legacy/builder/types"
"github.com/arduino/arduino-cli/arduino/cores"
paths
"github.com/arduino/go-paths-helper"
"github.com/stretchr/testify/require"
)
...
...
legacy/builder/test/unused_compiled_libraries_remover_test.go
View file @
c428dc37
...
...
@@ -32,9 +32,9 @@ package test
import
(
"testing"
"github.com/arduino/arduino-cli/arduino/libraries"
"github.com/arduino/arduino-cli/legacy/builder"
"github.com/arduino/arduino-cli/legacy/builder/types"
"github.com/arduino/arduino-cli/arduino/libraries"
paths
"github.com/arduino/go-paths-helper"
"github.com/stretchr/testify/require"
)
...
...
legacy/builder/test/utils_test.go
View file @
c428dc37
legacy/builder/types/context.go
View file @
c428dc37
...
...
@@ -4,12 +4,12 @@ import (
"io"
"strings"
"github.com/arduino/arduino-cli/legacy/builder/i18n"
"github.com/arduino/arduino-cli/arduino/cores"
"github.com/arduino/arduino-cli/arduino/cores/packagemanager"
"github.com/arduino/arduino-cli/arduino/libraries"
"github.com/arduino/arduino-cli/arduino/libraries/librariesmanager"
"github.com/arduino/arduino-cli/arduino/libraries/librariesresolver"
"github.com/arduino/arduino-cli/legacy/builder/i18n"
paths
"github.com/arduino/go-paths-helper"
properties
"github.com/arduino/go-properties-orderedmap"
)
...
...
legacy/builder/unused_compiled_libraries_remover.go
View file @
c428dc37
...
...
@@ -30,10 +30,10 @@
package
builder
import
(
"github.com/arduino/arduino-cli/arduino/libraries"
"github.com/arduino/arduino-cli/legacy/builder/i18n"
"github.com/arduino/arduino-cli/legacy/builder/types"
"github.com/arduino/arduino-cli/legacy/builder/utils"
"github.com/arduino/arduino-cli/arduino/libraries"
)
type
UnusedCompiledLibrariesRemover
struct
{}
...
...
legacy/builder/warn_about_platform_rewrites.go
View file @
c428dc37
...
...
@@ -32,9 +32,9 @@ package builder
import
(
"os"
"github.com/arduino/arduino-cli/arduino/cores"
"github.com/arduino/arduino-cli/legacy/builder/constants"
"github.com/arduino/arduino-cli/legacy/builder/types"
"github.com/arduino/arduino-cli/arduino/cores"
)
type
WarnAboutPlatformRewrites
struct
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment