From a3f7635a9d31fd11b5bade1e9c0986d4b7dbe064 Mon Sep 17 00:00:00 2001 From: radloff Date: Fri, 8 Jul 2016 10:09:24 +0800 Subject: [PATCH] The cp multiple file syntax using {}, as used by the copy and copytemplates scripts, does not work on my Ubuntu 16.04 machine. Considering the small number of files involved, I think it's a reasonable work-around to simply enumerate the relevant files w/o the {} format. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6da0dfc..ff4efaf 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,8 @@ "scripts": { "postinstall": "typings install --ambient", "clean": "rimraf built/", - "copy": "cp src/{index.html,styles.css,system-config.js} built/", - "copytemplates": "cp src/app/{*.html,*.css} built/app/", + "copy": "cp src/index.html src/styles.css src/system-config.js built/", + "copytemplates": "cp src/app/*.html src/app/*.css built/app/", "build": "tsc && npm run copy && npm run copytemplates", "watch": "tsc --watch", "serve": "http-server -p 9090 -c-1",