Initial poop
This commit is contained in:
commit
ca6dab46f1
3280 changed files with 3759 additions and 0 deletions
24
docs/programming/go.md
Normal file
24
docs/programming/go.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# GO!
|
||||
|
||||
On Debian 12 you should probably use GO from backports
|
||||
to get a newer version.
|
||||
Set up backports repo and get it with
|
||||
`sudo apt install -t bookworm-backports golang`
|
||||
|
||||
## Packaging DEB
|
||||
|
||||
- `sudo apt install git-buildpackage`
|
||||
- Create directory `./debian`
|
||||
- Create changelog with `dch --create`
|
||||
- `sudo apt install dh-golang`
|
||||
|
||||
Example rules:
|
||||
``` make
|
||||
#!/usr/bin/make -f
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
%:
|
||||
dh $@ --builddirectory=_build
|
||||
```
|
||||
|
||||
Check out [Debian Go-Team Packaging](https://go-team.pages.debian.net/packaging.html)
|
Loading…
Add table
Add a link
Reference in a new issue