Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
8b58364e
Commit
8b58364e
authored
Oct 07, 2019
by
Ed Reel
Committed by
Chris Thurber
Oct 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update elixir from 1.9.1 to 1.9.1-1 (#3525)
parent
7a98ecd8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
packages/elixir.rb
packages/elixir.rb
+13
-5
tools/needs_binaries.sh
tools/needs_binaries.sh
+1
-1
No files found.
packages/elixir.rb
View file @
8b58364e
...
...
@@ -3,7 +3,7 @@ require 'package'
class
Elixir
<
Package
description
'Elixir is a dynamic, functional language designed for building scalable and maintainable applications.'
homepage
'https://elixir-lang.org/'
version
'1.9.1'
version
'1.9.1
-1
'
source_url
'https://github.com/elixir-lang/elixir/releases/download/v1.9.1/Precompiled.zip'
source_sha256
'17e43cb1627a0fa5625bc370cec0964ad6471ef242f1549e316db73c0d94fcc6'
...
...
@@ -16,10 +16,18 @@ class Elixir < Package
depends_on
'unzip'
=>
:build
def
self
.
install
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share"
# Remove unused files
FileUtils
.
rm
'man/common'
FileUtils
.
rm
'bin/mix.ps1'
FileUtils
.
rm
'bin/.DS_Store'
FileUtils
.
rm
Dir
.
glob
(
'bin/*.bat'
)
FileUtils
.
rm
Dir
.
glob
(
'man/*.1.in'
)
# Prepare destination directories
FileUtils
.
mkdir_p
"
#{
CREW_DEST_LIB_PREFIX
}
"
system
"cp -r bin/
#{
CREW_DEST_PREFIX
}
"
system
"cp -r lib/*
#{
CREW_DEST_LIB_PREFIX
}
"
system
"cp -r man/
#{
CREW_DEST_PREFIX
}
/share"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share/man/man1"
# Add relevant files
FileUtils
.
cp_r
'bin/'
,
"
#{
CREW_DEST_PREFIX
}
"
FileUtils
.
cp_r
Dir
.
glob
(
'lib/mix/lib/*'
),
"
#{
CREW_DEST_LIB_PREFIX
}
"
FileUtils
.
cp_r
Dir
.
glob
(
'man/*'
),
"
#{
CREW_DEST_PREFIX
}
/share/man/man1"
end
end
tools/needs_binaries.sh
View file @
8b58364e
...
...
@@ -12,7 +12,7 @@ exclusions+=' qt.rb sl.rb spark.rb stack.rb sublime_merge.rb sublime_text.rb the
exclusions+
=
' neofetch.rb perl_gcstring_linebreak.rb perl_io_socket_ssl.rb perl_locale_gettext.rb perl_locale_messages.rb perl_module_build.rb'
exclusions+
=
' perl_read_key.rb perl_sgmls.rb perl_term_ansicolor.rb perl_text_charwidth.rb perl_text_unidecode.rb perl_text_wrapi18n.rb'
exclusions+
=
' perl_time_hires.rb perl_unicode_eastasianwidth.rb perl_xml_parser.rb perl_xml_sax_parserfactory.rb perl_xml_simple.rb'
exclusions+
=
' leiningen.rb tkdiff.rb v2ray.rb'
exclusions+
=
'
elixir.rb
leiningen.rb tkdiff.rb v2ray.rb'
if
[[
"
${
arch
}
"
==
'aarch64'
||
"
${
arch
}
"
==
'armv7l'
]]
;
then
exclusions+
=
' az.rb cf.rb clisp.rb dropbox.rb freebasic.rb miniconda3.rb misctools.rb oci.rb wkhtmltox.rb xorg_intel_driver.rb xorg_vmmouse_driver.rb'
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment