Skip to content

Commit

Permalink
Merge pull request #193 from sasjs/schemafix
Browse files Browse the repository at this point in the history
fix: schema for sasjsconfig with new syncFolder attribute
  • Loading branch information
allanbowe authored Jun 21, 2022
2 parents 0741428 + a4ce182 commit 93849c7
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions src/types/sasjsconfig-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,14 @@
}
],
"properties": {
"binaryFolders": {
"$id": "#/properties/binaryFolders",
"type": "array",
"title": "The binaryFolders array",
"description": "These local folders are searched for Binary Files when running `sasjs compile`. Folders are relative to the `sasjs/sasjsconfig.json` file.",
"default": [],
"examples": [["binaries", "../../more_binaries"]]
},
"buildOutputFolder": {
"$id": "#/properties/buildOutputFolder",
"type": "string",
Expand Down Expand Up @@ -675,13 +683,12 @@
"default": [],
"examples": [["programs", "../../more_programs"]]
},
"binaryFolders": {
"$id": "#/properties/binaryFolders",
"type": "array",
"title": "The binaryFolders array",
"description": "These local folders are searched for Binary Files when running `sasjs compile`. Folders are relative to the `sasjs/sasjsconfig.json` file.",
"default": [],
"examples": [["binaries", "../../more_binaries"]]
"syncFolder": {
"$id": "#/properties/syncFolder",
"type": "string",
"title": "Sync Folder",
"description": "The contents of this folder are simply copied to the sasjsbuild directory AFTER the rest of the project is compiled. Useful for synchronising random / generic content with SAS logical folders.",
"default": "sasjs/static_files"
},
"targets": {
"$id": "#/properties/targets",
Expand Down Expand Up @@ -916,6 +923,9 @@
"streamConfig": {
"$ref": "#/properties/streamConfig"
},
"syncFolder": {
"$ref": "#/properties/syncFolder"
},
"testConfig": {
"$ref": "#/properties/testConfig"
},
Expand Down

0 comments on commit 93849c7

Please sign in to comment.