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
47aaae9b
Commit
47aaae9b
authored
May 24, 2021
by
Ed Reel
Committed by
GitHub
May 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update elixir from 1.9.1-1 to 1.12.0 (#5809)
parent
1cfafce7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
packages/elixir.rb
packages/elixir.rb
+8
-9
No files found.
packages/elixir.rb
View file @
47aaae9b
...
...
@@ -3,11 +3,11 @@ 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-1
'
version
'1.
12.0
'
license
'Apache-2.0 and ErlPL-1.1'
compatibility
'all'
source_url
'https://github.com/elixir-lang/elixir/releases/download/v1.
9.1
/Precompiled.zip'
source_sha256
'
17e43cb1627a0fa5625bc370cec0964ad6471ef242f1549e316db73c0d94fcc
6'
source_url
'https://github.com/elixir-lang/elixir/releases/download/v1.
12.0
/Precompiled.zip'
source_sha256
'
20f000703406b3ea7004b7c732f772bdb431151f6c064fe7e48a47d2ada552d
6'
binary_url
({
})
...
...
@@ -15,21 +15,20 @@ class Elixir < Package
})
depends_on
'erlang'
depends_on
'unzip'
=>
:build
def
self
.
install
# 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'
)
FileUtils
.
rm
Dir
[
'bin/*.bat'
]
FileUtils
.
rm
Dir
[
'man/*.1.in'
]
# Prepare destination directories
FileUtils
.
mkdir_p
"
#{
CREW_DEST_LIB_PREFIX
}
"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_
PREFIX
}
/share/man
/man1"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_
MAN_PREFIX
}
/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"
FileUtils
.
cp_r
Dir
[
'lib/mix/lib/*'
]
,
"
#{
CREW_DEST_LIB_PREFIX
}
"
FileUtils
.
cp_r
Dir
[
'man/*'
],
"
#{
CREW_DEST_MAN_PREFIX
}
/man1"
end
end
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