Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Bob
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSS
Bob
Commits
c6c94512
Verified
Commit
c6c94512
authored
1 year ago
by
Volker Schukai
Browse files
Options
Downloads
Patches
Plain Diff
chore: doc
parent
de310db1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.direnv/flake-profile
+1
-1
1 addition, 1 deletion
.direnv/flake-profile
.direnv/flake-profile-12-link
+1
-0
1 addition, 0 deletions
.direnv/flake-profile-12-link
README.md
+4
-0
4 additions, 0 deletions
README.md
flake.nix
+0
-13
0 additions, 13 deletions
flake.nix
with
6 additions
and
14 deletions
.direnv/flake-profile
+
1
−
1
View file @
c6c94512
flake-profile-11-link
flake-profile-12-link
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
Click to expand it.
.direnv/flake-profile-12-link
0 → 120000
+
1
−
0
View file @
c6c94512
/nix/store/64g3p9ilfsik3g37zsdn336vkgc3pjqf-bob-env
\ No newline at end of file
This diff is collapsed.
Click to expand it.
README.md
+
4
−
0
View file @
c6c94512
...
@@ -12,6 +12,10 @@ To check out docs and examples, visit [gitlab.schukai.com/oss/bob](https://gitla
...
@@ -12,6 +12,10 @@ To check out docs and examples, visit [gitlab.schukai.com/oss/bob](https://gitla
wget
-O
~/.local/bin/bob http://download.schukai.com/tools/bob/bob-
$(
uname
-s
|
tr
[
:upper:]
[
:lower:]
)
-
$(
echo
`
uname
-m
|
sed
s/aarch64/arm64/ |
sed
s/x86_64/amd64/
`
)
&&
chmod
u+x ~/.local/bin/bob
wget
-O
~/.local/bin/bob http://download.schukai.com/tools/bob/bob-
$(
uname
-s
|
tr
[
:upper:]
[
:lower:]
)
-
$(
echo
`
uname
-m
|
sed
s/aarch64/arm64/ |
sed
s/x86_64/amd64/
`
)
&&
chmod
u+x ~/.local/bin/bob
```
```
### Nix/Flake Support
This repository contains a file called flake.nix. You can install this program using the nix package manager.
## Usage
## Usage
### Template
### Template
...
...
This diff is collapsed.
Click to expand it.
flake.nix
+
0
−
13
View file @
c6c94512
{
{
description
=
"Bob: The HTML and HTML fragment builder"
;
description
=
"Bob: The HTML and HTML fragment builder"
;
inputs
.
nixpkgs
.
url
=
"github:NixOS/nixpkgs/nixos-unstable"
;
inputs
.
nixpkgs
.
url
=
"github:NixOS/nixpkgs/nixos-unstable"
;
outputs
=
{
self
,
nixpkgs
}:
outputs
=
{
self
,
nixpkgs
}:
...
@@ -25,19 +24,7 @@
...
@@ -25,19 +24,7 @@
vendorSha256
=
"sha256-qiObIbA75kfkGzZoTtZbkm4zQqXokL+hiWrJdmL8oxU="
;
# Use "nix to-sri --type sha256" on the actual hash
vendorSha256
=
"sha256-qiObIbA75kfkGzZoTtZbkm4zQqXokL+hiWrJdmL8oxU="
;
# Use "nix to-sri --type sha256" on the actual hash
doCheck
=
true
;
doCheck
=
true
;
nativeBuildInputs
=
[
final
.
jq
];
nativeBuildInputs
=
[
final
.
jq
];
#buildInputs = [ nixpkgs.go ];
ldflags
=
''-X main.version=
${
currentVersion
}
-X main.build=
${
self
.
lastModifiedDate
}
''
;
ldflags
=
''-X main.version=
${
currentVersion
}
-X main.build=
${
self
.
lastModifiedDate
}
''
;
#buildFlags = "-ldflags=-X main.version=${currentVersion} -X main.build=${self.lastModifiedDate}";
# buildPhase = ''
# buildFlagsArray=(
# "-ldflags=-X main.version=${currentVersion} -X main.build=${self.lastModifiedDate}"
# )
# buildPhase
# '';
};
};
};
};
...
...
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