-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
If I change the package name in fpm.toml, for example from
name = "package_name"
version = "0.1.0"
to
name = "package_name2"
version = "0.1.0"
some commands stop working. For example:
federico@Federicos-MBP collision_test % fpm update
<ERROR>Dependency name 'package_name2' found, but expected 'package_name' instead
STOP 1
Running fpm clean
before updating also does not help:
federico@Federicos-MBP collision_test % ./fpm clean
Delete build, excluding dependencies (y/n)? y
+ rm -rf build/gfortran_2A42023B310FA28D
federico@Federicos-MBP collision_test % ./fpm update
<ERROR>Dependency name 'package_name2' found, but expected 'package_name' instead
STOP 1
Possible Solution
Treat the "package name" dependency in the same way that the package version number does, printing some additional output
Additional Information
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request