File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ subroutine cmd_publish(settings)
46
46
47
47
! > Checks before uploading the package.
48
48
if (.not. allocated (package% license)) call fpm_stop(1 , ' No license specified in fpm.toml.' )
49
+ if (.not. package% build% module_naming) call fpm_stop(1 , ' The package does not meet the module naming requirements. ' // &
50
+ & ' Please set "module_naming = true" in fpm.toml [build] or specify a custom module prefix.' )
49
51
if (.not. allocated (version)) call fpm_stop(1 , ' No version specified in fpm.toml.' )
50
52
if (version% s() == ' 0' ) call fpm_stop(1 , ' Invalid version: "' // version% s()// ' ".' )
51
53
if (.not. exists(' fpm.toml' )) call fpm_stop(1 , " Cannot find 'fpm.toml' file. Are you in the project root?" )
Original file line number Diff line number Diff line change @@ -754,7 +754,7 @@ subroutine set_help()
754
754
' install [--profile PROF] [--flag FFLAGS] [--no-rebuild] [--prefix PATH] ' , &
755
755
' [options] ' , &
756
756
' clean [--skip] [--all] ' , &
757
- ' publish [--show-package-version] [--show-upload-data] [--token TOKEN] ' , &
757
+ ' publish [--show-package-version] [--show-upload-data] [--token TOKEN] ' , &
758
758
' ' ]
759
759
help_usage= [character (len= 80 ) :: &
760
760
' ' ]
You can’t perform that action at this time.
0 commit comments