Skip to content
Snippets Groups Projects
Commit 542db408 authored by Powers, Peter M.'s avatar Powers, Peter M.
Browse files

Merge branch 'vscode' into 'main'

VS Code Setup

See merge request !713
parents 46c7a3cf 7c885668
No related branches found
No related tags found
2 merge requests!714Production Release | nshmp-haz,!713VS Code Setup
Pipeline #247077 passed
......@@ -2,7 +2,6 @@
.project
.settings
.gradle
.vscode
bin
build
classes
......
{
/*
* VS Code recommended extensions for nshmp-haz.
*
* For more information on extension,
* visit: https://code.visualstudio.com/docs/editor/extension-marketplace
*/
"recommendations": [
"davidanson.vscode-markdownlint",
"editorconfig.editorconfig",
"gitlab.gitlab-workflow",
"jumpinjackie.vscode-map-preview",
"redhat.vscode-yaml",
"timonwong.shellcheck",
"vscjava.vscode-gradle",
"vscjava.vscode-java-pack",
]
}
{
/*
* VS Code settings for nshmp-haz.
*
* For more information on settings,
* visit: https://code.visualstudio.com/docs/getstarted/settings
*/
"editor.rulers": [
{
"column": 100
}
],
"editor.tabSize": 2,
"files.associations": {
"*.geojson": "json"
},
"java.compile.nullAnalysis.mode": "automatic",
"java.configuration.updateBuildConfiguration": "automatic",
"java.import.generatesMetadataFilesAtProjectRoot": true,
"files.exclude": {
"**/.classpath": true,
"**/.DS_Store": true,
"**/.factorypath": true,
"**/.git": true,
"**/.gradle": true,
"**/.project": true,
"**/.settings": true,
"**/bin": true,
"**/node_modules": true,
}
}
{
/*
* VS Code tasks for nshmp-haz.
*
* For more information on tasks, visit: https://code.visualstudio.com/docs/editor/tasks
*/
"version": "2.0.0",
"tasks": [
/*
* Task to automatically run the `./gradlew eclipse` task on startup to
* keep the `.classpath` file updated.
*/
{
"label": "Update Classpath File",
"type": "shell",
"command": "./gradlew eclipse",
"windows": {
"command": "gradle.bat eclipse"
},
"presentation": {
"close": true,
},
"group": "none",
"runOptions": {
"runOn": "folderOpen"
}
}
]
}
......@@ -9,67 +9,4 @@ ext {
nshmpLibGradleDir = "${nshmpLib}/gradle"
spotbugsDir = "${nshmpLib}/gradle"
spotlessDir = "${nshmpLib}/src/main/resources"
/* Multi-model repository paths for version tracking */
repo_cous_2008 = '../nshm-cous-2008'
repo_cous_2014 = '../nshm-cous-2014'
repo_cous_2014b = '../nshm-cous-2014b'
repo_cous_2018 = '../nshm-cous-2018'
repo_hi_2020 = '../nshm-hi-2020'
repo_ak_2007 = '../nshm-ak-2007'
/* Explicit model paths */
model_wus_2008 = "${repo_cous_2008}/Western US"
model_ceus_2008 = "${repo_cous_2008}/Central & Eastern US"
model_wus_2014 = "${repo_cous_2014}/Western US"
model_ceus_2014 = "${repo_cous_2014}/Central & Eastern US"
model_wus_2014b = "${repo_cous_2014b}/Western US"
model_wus_2018 = "${repo_cous_2018}/Western US"
model_ceus_2018 = "${repo_cous_2018}/Central & Eastern US"
model_hi_2020 = "${repo_hi_2020}"
model_ak_2007 = "${repo_ak_2007}"
/* Production models */
prod_models = [
[
model_ak_2007,
'models/ak/2007'
],
[
model_ceus_2008,
'models/ceus/2008'
],
[
model_wus_2008,
'models/wus/2008'
],
[
model_ceus_2014,
'models/ceus/2014'
],
[
model_wus_2014,
'models/wus/2014'
],
[
model_wus_2014b,
'models/wus/2014b'
]
]
/* Development models */
dev_models = [
[
model_ceus_2018,
'models/ceus/2018'
],
[
model_wus_2018,
'models/wus/2018'
],
[
model_hi_2020,
'models/hi/2020'
]
]
}
......@@ -5,6 +5,7 @@
"requires": true,
"packages": {
"": {
"name": "nshmp-haz",
"version": "2.0.0",
"devDependencies": {
"markdownlint-cli": "^0.31.1",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment