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
6e968f3e
Commit
6e968f3e
authored
Apr 10, 2020
by
Ed Reel
Committed by
GitHub
Apr 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add deployer package (#4000)
Add postinstall section Add pre-built binaries
parent
264bbba5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
packages/deployer.rb
packages/deployer.rb
+39
-0
No files found.
packages/deployer.rb
0 → 100644
View file @
6e968f3e
require
'package'
class
Deployer
<
Package
description
'A deployment tool for PHP'
homepage
'https://deployer.org/'
version
'6.7.3'
source_url
'https://github.com/deployphp/deployer/archive/v6.7.3.tar.gz'
source_sha256
'81e5cea09f68b898d72a52ea6c4401fbc4cc1bc2fc30d488acce6e8fdef59d79'
binary_url
({
aarch64:
'https://dl.bintray.com/chromebrew/chromebrew/deployer-6.7.3-chromeos-armv7l.tar.xz'
,
armv7l:
'https://dl.bintray.com/chromebrew/chromebrew/deployer-6.7.3-chromeos-armv7l.tar.xz'
,
i686:
'https://dl.bintray.com/chromebrew/chromebrew/deployer-6.7.3-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/deployer-6.7.3-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
aarch64:
'e5a87eefab63f035398a2cfd2d4682ae6e95dc608c405242da8c60bcce2798db'
,
armv7l:
'e5a87eefab63f035398a2cfd2d4682ae6e95dc608c405242da8c60bcce2798db'
,
i686:
'c68fad1a58417c09c4c1c49a2c474641378027a83e98ad159ca53780311d160e'
,
x86_64:
'57f072d4617d8dae9ab0d071aa5a29c66fb8453d08e9559a658d7c450a82f2dd'
,
})
depends_on
'php74'
unless
File
.
exists?
"
#{
CREW_PREFIX
}
/bin/php"
depends_on
'composer'
=>
:build
def
self
.
install
system
'composer install'
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/bin"
FileUtils
.
mkdir_p
"
#{
CREW_DEST_PREFIX
}
/share"
FileUtils
.
cp_r
Dir
.
pwd
,
"
#{
CREW_DEST_PREFIX
}
/share"
FileUtils
.
ln_s
"
#{
CREW_PREFIX
}
/share/deployer-
#{
version
}
/bin/dep"
,
"
#{
CREW_DEST_PREFIX
}
/bin/dep"
end
def
self
.
postinstall
puts
puts
"To get started, execute 'dep'"
.
lightblue
puts
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