Skip to content

Commit

Permalink
✨ Add build command for python components
Browse files Browse the repository at this point in the history
  • Loading branch information
sakarias88 committed Nov 7, 2023
1 parent 0c76225 commit 36c13ba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added
- `build` shell command for python.

### Fixed
- Terraform deploy will now exit with non-zero exit code if deploy failed.
- Give pylint a $HOME so it won't complain when writing cache and stats.
Expand Down
7 changes: 5 additions & 2 deletions python/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,11 @@ let
description = "Format the code.";
};
build = {
script = ''eval $buildPhase'';
show = false;
description = "Build the code";
script = ''
set +u
phases="configurePhase ''${preBuildPhases:-} buildPhase" genericBuild
'';
};
show-generated-config = {
script = "$1 --print-generated-config";
Expand Down

0 comments on commit 36c13ba

Please sign in to comment.