Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update default pixi gitignore and gitattributes #1488

Merged
merged 3 commits into from
Jun 10, 2024
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
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pixi.lock linguist-language=YAML
pixi.lock linguist-language=YAML linguist-generated=true
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
.vscode
.test-projects
__pycache__
**/**/.pixi
**/**/.build
.pixi
.build
.DS_store
site/
.cache
4 changes: 1 addition & 3 deletions src/cli/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,10 @@ platforms = {{ platforms }}
const GITIGNORE_TEMPLATE: &str = r#"# pixi environments
.pixi
pavelzw marked this conversation as resolved.
Show resolved Hide resolved
*.egg-info

ruben-arts marked this conversation as resolved.
Show resolved Hide resolved
"#;

const GITATTRIBUTES_TEMPLATE: &str = r#"# GitHub syntax highlighting
pixi.lock linguist-language=YAML

pixi.lock linguist-language=YAML linguist-generated=true
"#;

pub async fn execute(args: Args) -> miette::Result<()> {
Expand Down
Loading