mirror of
https://github.com/spf13/viper
synced 2024-12-22 11:37:02 +00:00
Add ide integration
This commit is contained in:
parent
d52c544291
commit
fae3a81867
8 changed files with 87 additions and 29 deletions
46
.gitignore
vendored
46
.gitignore
vendored
|
@ -1,32 +1,20 @@
|
||||||
/bin/
|
/bin/
|
||||||
/build/
|
/build/
|
||||||
|
/var/
|
||||||
|
/vendor/
|
||||||
|
|
||||||
# Compiled Object files, Static and Dynamic libs (Shared Objects)
|
# IDE integration
|
||||||
*.o
|
/.vscode/*
|
||||||
*.a
|
!/.vscode/launch.json
|
||||||
*.so
|
!/.vscode/tasks.json
|
||||||
|
/.idea/*
|
||||||
# Folders
|
!/.idea/codeStyles/
|
||||||
_obj
|
!/.idea/copyright/
|
||||||
_test
|
!/.idea/dataSources.xml
|
||||||
|
!/.idea/*.iml
|
||||||
# Architecture specific extensions/prefixes
|
!/.idea/externalDependencies.xml
|
||||||
*.[568vq]
|
!/.idea/go.imports.xml
|
||||||
[568vq].out
|
!/.idea/modules.xml
|
||||||
|
!/.idea/runConfigurations/
|
||||||
*.cgo1.go
|
!/.idea/scopes/
|
||||||
*.cgo2.c
|
!/.idea/sqldialects.xml
|
||||||
_cgo_defun.c
|
|
||||||
_cgo_gotypes.go
|
|
||||||
_cgo_export.*
|
|
||||||
|
|
||||||
_testmain.go
|
|
||||||
|
|
||||||
*.exe
|
|
||||||
*.test
|
|
||||||
*.bench
|
|
||||||
|
|
||||||
.vscode
|
|
||||||
|
|
||||||
# exclude dependencies in the `/vendor` folder
|
|
||||||
vendor
|
|
||||||
|
|
7
.idea/externalDependencies.xml
Normal file
7
.idea/externalDependencies.xml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ExternalDependencies">
|
||||||
|
<plugin id="name.kropp.intellij.makefile" />
|
||||||
|
<plugin id="org.jetbrains.plugins.go" />
|
||||||
|
</component>
|
||||||
|
</project>
|
8
.idea/go.imports.xml
Normal file
8
.idea/go.imports.xml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="GoImports">
|
||||||
|
<option name="groupStdlibImports" value="true" />
|
||||||
|
<option name="importSorting" value="GOFMT" />
|
||||||
|
<option name="moveAllImportsInOneDeclaration" value="true" />
|
||||||
|
</component>
|
||||||
|
</project>
|
8
.idea/modules.xml
Normal file
8
.idea/modules.xml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/viper.iml" filepath="$PROJECT_DIR$/.idea/viper.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
7
.idea/runConfigurations/Check.xml
Normal file
7
.idea/runConfigurations/Check.xml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<component name="ProjectRunConfigurationManager">
|
||||||
|
<configuration default="false" name="Check" type="CompoundRunConfigurationType">
|
||||||
|
<toRun name="Tests" type="GoTestRunConfiguration" />
|
||||||
|
<toRun name="Lint" type="MAKEFILE_TARGET_RUN_CONFIGURATION" />
|
||||||
|
<method v="2" />
|
||||||
|
</configuration>
|
||||||
|
</component>
|
8
.idea/runConfigurations/Lint.xml
Normal file
8
.idea/runConfigurations/Lint.xml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<component name="ProjectRunConfigurationManager">
|
||||||
|
<configuration default="false" name="Lint" type="MAKEFILE_TARGET_RUN_CONFIGURATION" factoryName="Makefile">
|
||||||
|
<makefile filename="$PROJECT_DIR$/Makefile" target="lint" workingDirectory="" arguments="">
|
||||||
|
<envs />
|
||||||
|
</makefile>
|
||||||
|
<method v="2" />
|
||||||
|
</configuration>
|
||||||
|
</component>
|
23
.idea/runConfigurations/Tests.xml
Normal file
23
.idea/runConfigurations/Tests.xml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
<component name="ProjectRunConfigurationManager">
|
||||||
|
<configuration default="false" name="Tests" type="GoTestRunConfiguration" factoryName="Go Test">
|
||||||
|
<module name="viper" />
|
||||||
|
<working_directory value="$PROJECT_DIR$/" />
|
||||||
|
<go_parameters value="-i" />
|
||||||
|
<EXTENSION ID="net.ashald.envfile">
|
||||||
|
<option name="IS_ENABLED" value="false" />
|
||||||
|
<option name="IS_SUBST" value="false" />
|
||||||
|
<option name="IS_PATH_MACRO_SUPPORTED" value="false" />
|
||||||
|
<option name="IS_IGNORE_MISSING_FILES" value="false" />
|
||||||
|
<option name="IS_ENABLE_EXPERIMENTAL_INTEGRATIONS" value="false" />
|
||||||
|
<ENTRIES>
|
||||||
|
<ENTRY IS_ENABLED="true" PARSER="runconfig" />
|
||||||
|
</ENTRIES>
|
||||||
|
</EXTENSION>
|
||||||
|
<framework value="gotest" />
|
||||||
|
<kind value="DIRECTORY" />
|
||||||
|
<package value="github.com/spf13/viper" />
|
||||||
|
<directory value="$PROJECT_DIR$/" />
|
||||||
|
<filePath value="$PROJECT_DIR$/" />
|
||||||
|
<method v="2" />
|
||||||
|
</configuration>
|
||||||
|
</component>
|
9
.idea/viper.iml
Normal file
9
.idea/viper.iml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="WEB_MODULE" version="4">
|
||||||
|
<component name="Go" enabled="true" />
|
||||||
|
<component name="NewModuleRootManager">
|
||||||
|
<content url="file://$MODULE_DIR$" />
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
Loading…
Reference in a new issue