Skip to content

Commit cae8e97

Browse files
committed
add model build internal
1 parent 8297433 commit cae8e97

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/fpm/cmd/publish.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ subroutine cmd_publish(settings)
6767
tmp_file = get_temp_filename()
6868
call git_archive('.', tmp_file, 'HEAD', settings%verbose, error)
6969
if (allocated(error)) call fpm_stop(1, '*cmd_publish* Archive error: '//error%message)
70+
call model%dump('fpm_model.json', error, json=.true.)
71+
if (allocated(error)) call fpm_stop(1, '*cmd_publish* Model dump error: '//error%message)
7072

7173
upload_data = [ &
7274
& string_t('package_name="'//package%name//'"'), &

0 commit comments

Comments
 (0)