Skip to content

Commit 4257d69

Browse files
committed
test
1 parent 5613a72 commit 4257d69

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

GNUmakefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,12 @@ prepare-temp:
184184
@echo "Setting up temporary workspace for conversion at $(TEMP_DIR)..."
185185
@rm -rf $(TEMP_DIR)
186186
@mkdir -p $(TEMP_DIR)/mmv1 $(TEMP_DIR)/tpgtools $(TEMP_DIR)/tools
187-
@cp -R ./mmv1/ $(TEMP_DIR)/mmv1/
188-
@cp -R ./tpgtools/ $(TEMP_DIR)/tpgtools/
189-
@cp -R ./tools/ $(TEMP_DIR)/tools/
190-
@echo "Building and running resource template converter in temp..."
187+
@echo "Copying files to $(TEMP_DIR)..."
188+
@cp -R ./mmv1/. $(TEMP_DIR)/mmv1/
189+
@cp -R ./tpgtools/. $(TEMP_DIR)/tpgtools/
190+
@cp -R ./tools/. $(TEMP_DIR)/tools/
191191
@echo "Building resource template converter in temp..."
192-
cd $(TEMP_DIR)/tools/resource-template-converter && go env -w GO111MODULE=on && go mod tidy && go build -v -o $(TEMP_DIR)/tools/convert-resource-template .
192+
cd $(TEMP_DIR)/tools/resource-template-converter && go env -w GO111MODULE=on && go mod tidy && go build -v -o $(TEMP_DIR)/tools/convert-resource-template . && echo "BUILD SUCCEEDED" || (echo "BUILD FAILED"; exit 1)
193193
@echo "Build finished, running converter..."
194194
@ls -la $(TEMP_DIR)/tools/convert-resource-template
195195
@$(TEMP_DIR)/tools/convert-resource-template convert-resource-template $(TEMP_DIR)

0 commit comments

Comments
 (0)