keyboard-layout-editor/deploy.bat
Ian Prest 051e29e75f Cleaned up makefile & deploy scripts
-- I didn't want to deplot 100+MB of the bower_components folder
-- Makefile now copies over just the stuff we want from bower_components
-- Deploy scripts now only certain directories & files (opt-in vs.
opt-out)
-- Fixed "make install"
2015-07-26 23:56:40 -04:00

11 lines
414 B
Batchfile

@echo off
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
set PARMS=
if "%1"=="" SET PARMS=--dryrun
for %%Q IN (css js fonts samples) DO (
aws s3 sync .\%%Q s3://www.keyboard-layout-editor.com/%%Q --acl public-read %PARMS%
)
for %%Q IN (kb.html kb.js render.js serial.js extensions.js *.md *.json favicon.ico) DO (
aws s3 cp .\%%Q s3://www.keyboard-layout-editor.com/%%Q --acl public-read %PARMS%
)
goto :EOF