From 58d32f23eb0ebc988c6e0fd4c6c651c7757021a2 Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Sat, 2 Nov 2024 15:52:25 -0400 Subject: Clean up directory structure, improve README Also this should make GitHub ignore the vendored code for the purpose of detecting programming languages used in the repository. See https://github.com/github-linguist/linguist/blob/main/docs/overrides.md#vendored-code --- lib/mix/tasks/vendor.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/mix/tasks/vendor.ex') diff --git a/lib/mix/tasks/vendor.ex b/lib/mix/tasks/vendor.ex index 2c20bb4..fcea65f 100644 --- a/lib/mix/tasks/vendor.ex +++ b/lib/mix/tasks/vendor.ex @@ -5,8 +5,8 @@ defmodule Mix.Tasks.Vendor do def run([]) do {_, 0} = System.cmd("npm", ~w(install --include=dev)) - File.cp_r!("node_modules/video.js/dist", "priv/static/video.js") - File.cp_r!("node_modules/video.js/LICENSE", "priv/static/video.js/LICENSE") + File.cp_r!("node_modules/video.js/dist", "priv/static/vendored/video.js") + File.cp_r!("node_modules/video.js/LICENSE", "priv/static/vendored/video.js/LICENSE") nil end -- cgit v1.2.3-57-g22cb