Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .flox/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
env/manifest.lock linguist-generated=true linguist-language=JSON
5 changes: 5 additions & 0 deletions .flox/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
run/
cache/
lib/
log/
!env/
4 changes: 4 additions & 0 deletions .flox/env.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "pg-dba",
"version": 1
}
254 changes: 254 additions & 0 deletions .flox/env/manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

107 changes: 107 additions & 0 deletions .flox/env/manifest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
## Flox Environment Manifest -----------------------------------------
##
## _Everything_ you need to know about the _manifest_ is here:
##
## https://flox.dev/docs/reference/command-reference/manifest.toml/
##
## -------------------------------------------------------------------
# Flox manifest version managed by Flox CLI
version = 1


## Install Packages --------------------------------------------------
## $ flox install gum <- puts a package in [install] section below
## $ flox search gum <- search for a package
## $ flox show gum <- show all versions of a package
## -------------------------------------------------------------------
[install]
go.pkg-path = "go"
go.version = "^1.19"
golangci-lint.pkg-path = "golangci-lint"


## Environment Variables ---------------------------------------------
## ... available for use in the activated environment
## as well as [hook], [profile] scripts and [services] below.
## -------------------------------------------------------------------
[vars]
# INTRO_MESSAGE = "It's gettin' Flox in here"


## Activation Hook ---------------------------------------------------
## ... run by _bash_ shell when you run 'flox activate'.
## -------------------------------------------------------------------
[hook]
on-activate = """
# Autogenerated by Flox

# Point GOENV to Flox environment cache
export GOENV="$FLOX_ENV_CACHE/goenv"

# Install Go dependencies
go get .

# End autogenerated by Flox
"""


## Profile script ----------------------------------------------------
## ... sourced by _your shell_ when you run 'flox activate'.
## -------------------------------------------------------------------
[profile]
# common = '''
# gum style \
# --foreground 212 --border-foreground 212 --border double \
# --align center --width 50 --margin "1 2" --padding "2 4" \
# $INTRO_MESSAGE
# '''
## Shell-specific customizations such as setting aliases go here:
# bash = ...
# zsh = ...
# fish = ...


## Services ---------------------------------------------------------
## $ flox services start <- Starts all services
## $ flox services status <- Status of running services
## $ flox activate --start-services <- Activates & starts all
## ------------------------------------------------------------------
[services]
# myservice.command = "python3 -m http.server"


## Include ----------------------------------------------------------
## ... environments to create a composed environment
## ------------------------------------------------------------------
[include]
# environments = [
# { dir = "../common" }
# ]


## Build and publish your own packages ------------------------------
## $ flox build
## $ flox publish
## ------------------------------------------------------------------
[build]
# [build.myproject]
# description = "The coolest project ever"
# version = "0.0.1"
# command = """
# mkdir -p $out/bin
# cargo build --release
# cp target/release/myproject $out/bin/myproject
# """


## Other Environment Options -----------------------------------------
[options]
# Systems that environment is compatible with
# systems = [
# "aarch64-darwin",
# "aarch64-linux",
# "x86_64-darwin",
# "x86_64-linux",
# ]
# Uncomment to disable CUDA detection.
# cuda-detection = false
Loading