Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit 5a80ee5

Browse files
committed
Move all deployment files into one directory to simplify the folder structure
1 parent 040a878 commit 5a80ee5

15 files changed

+4
-4
lines changed
File renamed without changes.
File renamed without changes.

project/BootstrapUtility.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ object BootstrapUtility {
100100
def prepareDeploymentTask(logger: ManagedLogger, scalaLibraryVersion: String): Unit = {
101101
// Assuming, before this: clean, gui, bs, bootstrapProject/assembly, package
102102
// Assuming: Hardcoded "bin/" and "deploy/" folders
103-
// Assuming: A folder called "deployment-files" with all additional files (license, bat, etc.)
103+
// Assuming: A folder called "deployment-files/end-user/" with all additional files (license, bat, etc.)
104104

105105
withTaskInfo("PREPARE DEPLOYMENT", logger) {
106106

@@ -118,7 +118,7 @@ object BootstrapUtility {
118118

119119
// Last step: Copy additional files
120120
logger info "Copying additional deployment files..."
121-
val deploymentFiles = new File("deployment-files/")
121+
val deploymentFiles = new File("deployment-files/end-user/")
122122
if (!deploymentFiles.exists()) {
123123
logger warn "Unable to find deployment files."
124124
} else {
@@ -140,7 +140,7 @@ object BootstrapUtility {
140140
def prepareDevDeploymentTask(logger: ManagedLogger, scalaLibraryVersion: String, apiProjectPath: String, dependencies: List[ModuleID]): Unit = {
141141
// Assuming, before this: clean, gui and package
142142
// Assuming: Hardcoded "bin/" and "deployDev/" folders
143-
// Assuming: A folder called "deployment-files-dev" with more additional files for plugin developers
143+
// Assuming: A folder called "deployment-files/plugin-dev/" with more additional files for plugin developers
144144

145145
withTaskInfo("PREPARE DEV DEPLOYMENT", logger) {
146146

@@ -172,7 +172,7 @@ object BootstrapUtility {
172172
sbt.IO.write(new File("deployDev/dependencies.sbt"), depFile.toString)
173173

174174
// Last step: Copy additional files
175-
val devDeploymentFiles = new File("deployment-files-dev/")
175+
val devDeploymentFiles = new File("deployment-files/plugin-dev/")
176176
if (!devDeploymentFiles.exists()) {
177177
logger warn "Unable to find dev deployment files."
178178
} else {

0 commit comments

Comments
 (0)