@@ -842,21 +842,16 @@ pub fn generate_project(project_info: &ProjectInfo) -> Result<()> {
842842 bail ! ( "Error creating pyproject.toml file" ) ;
843843 }
844844
845+ if save_justfile ( project_info) . is_err ( ) {
846+ bail ! ( "Error creating justfile" ) ;
847+ }
848+
845849 match & project_info. project_manager {
846- ProjectManager :: Poetry => {
847- if save_justfile ( project_info) . is_err ( ) {
848- bail ! ( "Error creating justfile" ) ;
849- }
850- }
851850 ProjectManager :: Maturin => {
852851 if save_dev_requirements ( project_info) . is_err ( ) {
853852 bail ! ( "Error creating requirements-dev.txt file" ) ;
854853 }
855854
856- if save_justfile ( project_info) . is_err ( ) {
857- bail ! ( "Error creating justfile" ) ;
858- }
859-
860855 if save_lib_file ( project_info) . is_err ( ) {
861856 bail ! ( "Error creating Rust lib.rs file" ) ;
862857 }
@@ -869,21 +864,8 @@ pub fn generate_project(project_info: &ProjectInfo) -> Result<()> {
869864 if save_dev_requirements ( project_info) . is_err ( ) {
870865 bail ! ( "Error creating requirements-dev.txt file" ) ;
871866 }
872-
873- if save_justfile ( project_info) . is_err ( ) {
874- bail ! ( "Error creating justfile" ) ;
875- }
876- }
877- ProjectManager :: Uv => {
878- if save_justfile ( project_info) . is_err ( ) {
879- bail ! ( "Error creating justfile" ) ;
880- }
881- }
882- ProjectManager :: Pixi => {
883- if save_justfile ( project_info) . is_err ( ) {
884- bail ! ( "Error creating justfile" ) ;
885- }
886867 }
868+ _ => { }
887869 }
888870
889871 if project_info. use_continuous_deployment && save_pypi_publish_file ( project_info) . is_err ( ) {
0 commit comments