Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Crunch
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Microhacks
Crunch
Commits
6aa6cfc7
Verified
Commit
6aa6cfc7
authored
2 years ago
by
Louis
Browse files
Options
Downloads
Patches
Plain Diff
Update readme with from-source installation instructions
parent
1f1ff9ef
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+23
-0
23 additions, 0 deletions
README.md
source-install.sh
+6
-0
6 additions, 0 deletions
source-install.sh
with
29 additions
and
0 deletions
README.md
+
23
−
0
View file @
6aa6cfc7
...
...
@@ -38,3 +38,26 @@ SUBCOMMANDS:
scale Make an image larger or smaller
```
## Downloads
Linux:
-
[
Latest Release
](
https://lab.lcr.gr/microhacks/crunch/-/jobs/artifacts/trunk/raw/target/release/crunch?job=build-linux
)
## Build From Source
You can simply download this repository and run
`cargo build --release`
to get a binary for your system. Using
`--release`
mode
is required in all situations, as the time taken to run a command with the debug build is _several_ orders of magnitude higher.
If you use the
`.local/bin`
pattern for non-sudo userspace programs, you can use the included build script to simplify things. Otherwise,
follow the below instructions:
**Simple Script**
-
Clone this repository
-
Run
`sh source-install.sh`
**Manual**
-
Clone this repository
-
Run
`cargo build --release`
-
Optionally,
`strip`
the binary
-
Copy
`target/release/crunch`
to a folder located in your
`$PATH`
\ No newline at end of file
This diff is collapsed.
Click to expand it.
source-install.sh
0 → 100644
+
6
−
0
View file @
6aa6cfc7
#!/usr/bin/env sh
cargo build
--release
strip release/target/crunch
chmod
u+x release/target/crunch
cp
release/target/crunch
"
$HOME
/.local/bin/crunch"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment