aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/Rakefile
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-04-05 00:05:13 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-04-05 00:05:13 +0900
commit492cb5aec30cbb253932f54d549f07610a2ed037 (patch)
tree0d5cabc49aed42bd752e863d6bd953d30ffa9d25 /frontend/Rakefile
parente5c0ca79c925d520aece26c2f35853f219c7cf6d (diff)
downloadpoe-492cb5aec30cbb253932f54d549f07610a2ed037.tar.gz
frontend: スタイルを修正
Diffstat (limited to 'frontend/Rakefile')
-rw-r--r--frontend/Rakefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/frontend/Rakefile b/frontend/Rakefile
index a651a63..4b23e4e 100644
--- a/frontend/Rakefile
+++ b/frontend/Rakefile
@@ -17,7 +17,7 @@ $deps = [
$copies = [
"index.html",
- "poe.css",
+ "dist/poe.css",
]
$minify = <<EOF
@@ -62,7 +62,7 @@ task :deploy => [:prepare, :compile] do
puts "Copying static files...."
$copies.each { |copy|
puts "Copying #{copy}"
- FileUtils.cp(File.join($root, copy), $destdir)
+ FileUtils.cp(File.join($root, copy), File.join($destdir, copy))
}
end
@@ -78,7 +78,7 @@ end
task :compile do
puts "Running tsc...."
- system "npm tsc" || exit(1)
+ system "npm run tsc" || exit(1)
puts "Running node-sass...."
- system "npm sass" || exit(1)
+ system "npm run sass" || exit(1)
end