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
ec689f13
Commit
ec689f13
authored
Sep 19, 2017
by
Ed Reel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add crew files command
parent
14ca17c8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
crew
crew
+15
-0
No files found.
crew
View file @
ec689f13
...
@@ -21,6 +21,7 @@ Chromebrew - Package manager for Chrome OS http://skycocker.github.io/chromebrew
...
@@ -21,6 +21,7 @@ Chromebrew - Package manager for Chrome OS http://skycocker.github.io/chromebrew
Usage
:
Usage
:
crew
build
[-
k
|--
keep
]
<
name
>
...
crew
build
[-
k
|--
keep
]
<
name
>
...
crew
download
<
name
>
...
crew
download
<
name
>
...
crew
files
<
name
>
...
crew
help
[<
command
>]
crew
help
[<
command
>]
crew
install
[-
k
|--
keep
]
[-
s
|--
build
-
from
-
source
]
<
name
>
...
crew
install
[-
k
|--
keep
]
[-
s
|--
build
-
from
-
source
]
<
name
>
...
crew
remove
<
name
>
...
crew
remove
<
name
>
...
...
@@ -165,6 +166,12 @@ def help (pkgName)
...
@@ -165,6 +166,12 @@ def help (pkgName)
end
end
end
end
def
files
(
pkgName
)
system
"cat #{CREW_PREFIX}/etc/crew/meta/#{pkgName}.filelist"
print
"Total found: "
.
lightgreen
system
"wc -l #{CREW_PREFIX}/etc/crew/meta/#{pkgName}.filelist | cut -d' ' -f1"
end
def
whatprovides
(
pkgName
)
def
whatprovides
(
pkgName
)
fileArray
=
[]
fileArray
=
[]
Find
.
find
(
CREW_CONFIG_PATH
+
'meta/'
)
do
|
packageList
|
Find
.
find
(
CREW_CONFIG_PATH
+
'meta/'
)
do
|
packageList
|
...
@@ -687,6 +694,14 @@ def download_command (args)
...
@@ -687,6 +694,14 @@ def download_command (args)
end
end
end
end
def
files_command
(
args
)
args
[
"<name>"
].
each
do
|
name
|
@
pkgName
=
name
search
@
pkgName
files
name
end
end
def
help_command
(
args
)
def
help_command
(
args
)
if
args
[
"<command>"
]
if
args
[
"<command>"
]
help
args
[
"<command>"
]
help
args
[
"<command>"
]
...
...
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