Browse Source

well well

jackyalcine 2 weeks ago
parent
commit
8dab1c68ca
3 changed files with 18 additions and 17 deletions
  1. 1
    0
      .elixir-version
  2. 2
    2
      .tool-versions
  3. 15
    15
      rel/plugins/phoenix_digest.ex

+ 1
- 0
.elixir-version View File

@@ -1 +1,2 @@
1 1
 1.7.4
2
+1.8.2

+ 2
- 2
.tool-versions View File

@@ -1,3 +1,3 @@
1
-elixir 1.7.4
2
-erlang 21.2.5
1
+elixir 1.8.2
2
+erlang 22.1.8
3 3
 nodejs 10.15.3

+ 15
- 15
rel/plugins/phoenix_digest.ex View File

@@ -1,19 +1,19 @@
1 1
 defmodule Koype.Release.Plugin.PhoenixDigest do
2
-  use Mix.Releases.Plugin
2
+  # use Mix.Releases.Plugin
3 3
 
4
-  def before_assembly(%Release{} = _release, _) do
5
-    case System.cmd("npm", ["run", "parcel:build"]) do
6
-      {output, 0} ->
7
-        info output
8
-        Mix.Task.run("phx.digest")
9
-        nil
10
-      {output, error_code} ->
11
-        {:error, output, error_code}
12
-    end
13
-  end
4
+  # def before_assembly(%Release{} = _release, _) do
5
+  #   case System.cmd("npm", ["run", "parcel:build"]) do
6
+  #     {output, 0} ->
7
+  #       info output
8
+  #       Mix.Task.run("phx.digest")
9
+  #       nil
10
+  #     {output, error_code} ->
11
+  #       {:error, output, error_code}
12
+  #   end
13
+  # end
14 14
 
15
-  def after_assembly(%Release{} = _release, _), do: nil
16
-  def before_package(%Release{} = _release, _), do: nil
17
-  def after_package(%Release{} = _release, _), do: nil
18
-  def after_cleanup(%Release{} = _release, _), do: nil
15
+  # def after_assembly(%Release{} = _release, _), do: nil
16
+  # def before_package(%Release{} = _release, _), do: nil
17
+  # def after_package(%Release{} = _release, _), do: nil
18
+  # def after_cleanup(%Release{} = _release, _), do: nil
19 19
 end

Loading…
Cancel
Save