Skip to content
Snippets Groups Projects
Select Git revision
  • 6ea0ef5d371af8ee53bcc2e93f45f1b9b83e44e7
  • master default protected
  • 1.2.4
  • 1.2.3
  • 1.2.2
  • 1.2.1
  • 1.2.0
  • v1.1.0
8 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)