Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.33 KB

File metadata and controls

41 lines (31 loc) · 1.33 KB

Open Source Short Version Guideline

In order to follow the Open Source Standard a short version of the license should be added at the top of any file that supports inline comments.

The short version should follow the way the comments are used on the file. We are following three different formats as listed below.

  • Apex Classes, JS, and CSS

        /*
         * Copyright (c) 2021, salesforce.com, inc.
         * All rights reserved.
         * SPDX-License-Identifier: BSD-3-Clause
         * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
         */
    
  • HTML, and XML

        <!--
         * Copyright (c) 2021, salesforce.com, inc.
         * All rights reserved.
         * SPDX-License-Identifier: BSD-3-Clause
         * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
        -->
    
  • Python, Robot, and Yaml

        # * Copyright (c) 2021, salesforce.com, inc.
        # * All rights reserved.
        # * SPDX-License-Identifier: BSD-3-Clause
        # * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
        # *
    

Important

The short version of the license should not be added to any JSON file.