aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorArjun Satarkar <me@arjunsatarkar.net>2024-11-02 19:52:25 +0000
committerArjun Satarkar <me@arjunsatarkar.net>2024-11-02 19:53:59 +0000
commit58d32f23eb0ebc988c6e0fd4c6c651c7757021a2 (patch)
treefeb7f793efd22648fe909fa580c2427b30c0451e /lib
parent475286136da68c0a9cc8bec95d042f7243553fb4 (diff)
downloadmediasync-58d32f23eb0ebc988c6e0fd4c6c651c7757021a2.tar
mediasync-58d32f23eb0ebc988c6e0fd4c6c651c7757021a2.tar.gz
mediasync-58d32f23eb0ebc988c6e0fd4c6c651c7757021a2.zip
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
Diffstat (limited to 'lib')
-rw-r--r--lib/mix/tasks/vendor.ex4
1 files changed, 2 insertions, 2 deletions
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