<@U01819B63HP> Is there an easy way to add an open...
# xschem
m
@Stefan Schippers Is there an easy way to add an open source header to the xschem
sch
and
sym
files?
s
@Mitch Bailey if you open the sch or sym files with a text editor you will see the first line containing version info:
Copy code
v {xschem version=3.1.0 file_version=1.2
}
after the 1st line and before the closing bracket you can enter any text like this:
Copy code
v {xschem version=3.1.0 file_version=1.2
* Copyright 2021 Stefan Frederik Schippers
* 
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*     <https://www.apache.org/licenses/LICENSE-2.0>
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
}
Since there is interest i will add a menu option and a cli command to add license / header text.
👍 2
m
@Rita ^^
r
ok thanks, but it looks like efabless accepted my submission yesterday
even without the headers
👍 1