Changes

Jump to navigation Jump to search
Line 215: Line 215:  
and see its {{Code|sweets.recipe}} files.
 
and see its {{Code|sweets.recipe}} files.
   −
== Pitfalls ==
+
== Good practices ==
    
=== Devel packages ===
 
=== Devel packages ===
Line 222: Line 222:     
Keep all build-time files in the sweet with runtime files.
 
Keep all build-time files in the sweet with runtime files.
 +
 +
=== Transparent behaviour ===
 +
 +
Library sweets that are associated with native packages ({{Code|base/*}} sweets), should use regular environment variables for binding, such as {{Code|LD_LIBRARY_PATH}}. The idea is that it should be possible to replace them by native packages transparently with avoiding changes in sweets that use these libraries.
    
== Feedback ==
 
== Feedback ==
    
{{:Platform_Team/Sweets/Feedback}}
 
{{:Platform_Team/Sweets/Feedback}}

Navigation menu