Skip to content
Snippets Groups Projects
Select Git revision
  • 5b9aa060ef465c17afbd2a505ae28dd6b2daf221
  • master default protected
  • v0.4.7
  • v0.4.6
  • v0.4.5
  • v0.4.4
  • v0.4.3
  • v0.4.2
  • v0.4.1
  • v0.4.0
  • v0.3.0
  • v0.2.1
  • v0.2.0
13 results

target-deploy-tool.mk

Blame
  • target-deploy-tool.mk 987 B
    #############################################################################################
    #############################################################################################
    ##
    ## DEPLOY TOOLS
    ##
    #############################################################################################
    #############################################################################################
    
    
    UPLOAD_TOOL_URL ?= s3://download.schukai.com/tools/$(COMPONENT_SLUG)/
    
    .PHONY: deploy
    ## compile and deploy to S3
    deploy: compile
    	$(QUIET) AWS_PROFILE=$(AWS_PROFILE) find $(BUILD_PATH) -iname $(COMPONENT_SLUG)-* -exec $(AWS) s3 cp {} $(UPLOAD_TOOL_URL) \;
    
    .PHONY: overview-to-s3
    ## overview-to-s3
    overview-to-s3:
    	$(QUIET) AWS_PROFILE=$(AWS_PROFILE) $(AWS) s3 cp $(WEB_PATH)/index.html $(UPLOAD_TOOL_URL)
    	$(QUIET) AWS_PROFILE=$(AWS_PROFILE) $(AWS) s3 cp $(WEB_PATH)/index.css $(UPLOAD_TOOL_URL)
    	$(QUIET) AWS_PROFILE=$(AWS_PROFILE) $(AWS) s3 cp $(WEB_PATH)/index.js $(UPLOAD_TOOL_URL)