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
8c0a1ba3
Commit
8c0a1ba3
authored
Dec 02, 2017
by
Zachary Sang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added boilerplate for other methods in Package
parent
bbd89dac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
2 deletions
+35
-2
packages/template.rb.template
packages/template.rb.template
+35
-2
No files found.
packages/template.rb.template
View file @
8c0a1ba3
# It is recommended that you investigate other files in the package directory
# to help get an idea of how existing packages are being installed through chromebrew
require 'package'
class Template < Package
...
...
@@ -26,12 +29,42 @@ class Template < Package
# depends_on '*'
#
# Define here behavior to build the package from source
# Function to perform pre-install operations prior to build from source.
def self.preinstall
end
# Function to perform patch operations prior to build from source.
def self.patch
end
# Function to perform build from source.
def self.build
end
# Define here the behavior to install the package from binary
# Function to perform install from source build.
def self.install
end
# Function to perform post-install for both source build and binary distribution
def self.postinstall
end
# Function to perform check from source build.
# This is execute if and only if `crew build`.
def self.check
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