Skip to content

Commit 9a2e402

Browse files
committed
Add .hexignore to exclude dev files from Hex package
Explicitly exclude development files from Hex package distribution. Created .hexignore to exclude: - Nix development environment (flake.nix, shell.nix, etc.) - Development docs (SETUP.md, CONTRIBUTING.md, QUICKREF.md) - GitHub/CI configuration (.github/) - Scripts directory - Detailed documentation (docs/ - available on GitHub) - Test files (test/) - Development tools config (.credo.exs, etc.) Updated mix.exs package files: - Added CHANGELOG.md (useful for users to see version history) Hex package now contains ONLY: - lib/ (source code) - .formatter.exs (formatter config) - mix.exs (project definition) - README.md (main documentation) - LICENSE.md (MIT license) - CHANGELOG.md (version history) Result: Clean library package without development cruft
1 parent 2b4203b commit 9a2e402

2 files changed

Lines changed: 53 additions & 1 deletion

File tree

.hexignore

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Development environment
2+
flake.nix
3+
flake.lock
4+
shell.nix
5+
.envrc
6+
.direnv/
7+
moon.yml
8+
9+
# Development documentation
10+
SETUP.md
11+
QUICKREF.md
12+
CONTRIBUTING.md
13+
SECURITY.md
14+
15+
# GitHub/CI
16+
.github/
17+
.git/
18+
.gitignore
19+
20+
# Scripts
21+
scripts/
22+
23+
# Documentation (detailed guides go to HexDocs from GitHub)
24+
docs/
25+
26+
# Test files
27+
test/
28+
29+
# Build artifacts
30+
_build/
31+
deps/
32+
*.ez
33+
cover/
34+
doc/
35+
36+
# Editor files
37+
.vscode/
38+
.idea/
39+
*.swp
40+
*.swo
41+
42+
# Database files
43+
.postgres_data/
44+
.postgres.log
45+
.postgres_pid
46+
47+
# Code quality tools
48+
.credo.exs
49+
.sobelow
50+
51+
# Development dependencies
52+
.tool-versions

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ defmodule Singularity.Workflow.MixProject do
8080
"Documentation" => "https://hexdocs.pm/singularity_workflow"
8181
},
8282
maintainers: ["Mikko H"],
83-
files: ~w(lib .formatter.exs mix.exs README.md LICENSE.md)
83+
files: ~w(lib .formatter.exs mix.exs README.md LICENSE.md CHANGELOG.md)
8484
]
8585
end
8686

0 commit comments

Comments
 (0)