Skip to content

Commit

Permalink
remove tools from project config
Browse files Browse the repository at this point in the history
  • Loading branch information
mxfactorial committed Dec 29, 2024
1 parent 843316d commit 2b6f89a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 83 deletions.
13 changes: 1 addition & 12 deletions cue/project_conf.cue
Original file line number Diff line number Diff line change
Expand Up @@ -151,15 +151,4 @@ tests: {
runtime!: #Runtime
type!: #AppType
deploy: false
}

#Os: "osx"

#Tool: {
name!: string
os: [#Os]: {
install: string
}
}

".tools": [...#Tool]
}
72 changes: 1 addition & 71 deletions project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -818,74 +818,4 @@ env_var:
get:
- CLIENT_URI
- GRAPHQL_URI
params: []
# .tools as list to support sequenced install scripting
.tools:
- name: docker
os:
osx:
install: 'if ! command docker -v >/dev/null 2>&1; then echo -e "\033[1;33minstall docker from https://docs.docker.com/desktop/install/mac-install/ before continuing\033[0m"; exit 1; fi'
- name: brew
os:
osx:
install: '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"'
- name: node
os:
osx:
install: 'brew install node'
- name: awscli
os:
osx:
install: 'brew install awscli'
- name: tfswitch
os:
osx:
install: 'brew install warrensbox/tap/tfswitch'
- name: tfswitch
os:
osx:
install: 'brew install warrensbox/tap/tfswitch'
- name: libpq
os:
osx:
install: 'brew install libpq && brew link --force libpq'
- name: golang-migrate
os:
osx:
install: 'brew install golang-migrate'
- name: yq
os:
osx:
install: 'brew install yq'
- name: eslint
os:
osx:
install: 'npm install -g eslint'
- name: rust
os:
osx:
install: "curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh -s -- -y"
- name: llvm-tools-preview
os:
osx:
install: 'rustup component add llvm-tools-preview --toolchain stable-x86_64-apple-darwin'
- name: cross
os:
osx:
install: 'cargo install cross --git https://github.com/cross-rs/cross'
- name: cargo-watch
os:
osx:
install: 'cargo install cargo-watch'
- name: cargo-llvm-cov
os:
osx:
install: 'cargo install cargo-llvm-cov'
- name: ytt
os:
osx:
install: 'brew tap carvel-dev/carvel && brew install ytt'
- name: cue
os:
osx:
install: 'brew install cue-lang/tap/cue'
params: []

0 comments on commit 2b6f89a

Please sign in to comment.