diff options
author | Arjun Satarkar <me@arjunsatarkar.net> | 2024-11-02 18:51:32 +0000 |
---|---|---|
committer | Arjun Satarkar <me@arjunsatarkar.net> | 2024-11-02 18:54:19 +0000 |
commit | bbbf3ad38f649008e58e2eb11f0bee96722243c7 (patch) | |
tree | 6b0d61277b702ce31da6c65073a66faab3d650d7 /lib/mix | |
parent | ef667f16ef26588320e8157078b5bc1ac32adae2 (diff) | |
download | mediasync-bbbf3ad38f649008e58e2eb11f0bee96722243c7.tar mediasync-bbbf3ad38f649008e58e2eb11f0bee96722243c7.tar.gz mediasync-bbbf3ad38f649008e58e2eb11f0bee96722243c7.zip |
Remove Discord Activity code from this branch
Diffstat (limited to 'lib/mix')
-rw-r--r-- | lib/mix/tasks/vendor.ex | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/mix/tasks/vendor.ex b/lib/mix/tasks/vendor.ex index 06e3aa5..2c20bb4 100644 --- a/lib/mix/tasks/vendor.ex +++ b/lib/mix/tasks/vendor.ex @@ -8,24 +8,6 @@ defmodule Mix.Tasks.Vendor do 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") - {_, 0} = System.cmd("npx", ~w(parcel build --target discord-embedded-app-sdk)) - - discord_readme_path = "priv/static/discord-embedded-app-sdk/README.md" - - File.cp_r!( - "node_modules/@discord/embedded-app-sdk/LICENSE.md", - discord_readme_path - ) - - File.write!( - discord_readme_path, - """ - This directory contains a bundled version of https://github.com/discord/embedded-app-sdk/ - See lib/mix/tasks/vendor.ex for how it was generated. The license for the \ - original library is reproduced below:\n - """ <> File.read!(discord_readme_path) - ) - nil end end |