gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

deploy.cmake (526B)


      1 include(${CMAKE_CURRENT_LIST_DIR}/rclone.cmake)
      2 
      3 if(NOT FOLDER)
      4 	message(FATAL_ERROR "no upload folder specified")
      5 endif()
      6 
      7 if(NOT UPLOAD_LOCAL AND NOT UPLOAD_REMOTE)
      8 	message(FATAL_ERROR "neither upload to local nor remote is set")
      9 endif()
     10 
     11 if(NOT EXISTS ${RCLONE_CONF})
     12 	message(FATAL_ERROR "rclone.conf not found, unable to deploy/upload")
     13 endif()
     14 
     15 if(UPLOAD_LOCAL)
     16 	copyArtefacts("dsp56300:deploy" "${FOLDER}" "${FILTER}")
     17 endif()
     18 if(UPLOAD_REMOTE)
     19 	copyArtefacts("dsp56300_upload:builds" "${FOLDER}" "${FILTER}")
     20 endif()