Skip to content

Commit d194902

Browse files
committed
* Normalize xml declaration headers.
* Ignore backup files. * Fix bad schema path in topology Ai file.
1 parent b80ebc9 commit d194902

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# ignore backup files
2+
*.bak

{{cookiecutter.deployment_dir_name}}/Top/{{cookiecutter.deployment_slug}}TopologyAppAi.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<?xml-model href="../{{cookiecutter.path_to_fprime_root}}/Autocoders/schema/default/topology_schema.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<?xml-model href="../{{cookiecutter.path_to_fprime_root}}/../Autocoders/Python/schema/default/topology_schema.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
33
<assembly name="{{cookiecutter.deployment_slug}}">
44

55
<!-- Import component declarations -->

{{cookiecutter.deployment_dir_name}}/{{cookiecutter.component_dir_name}}/{{cookiecutter.component_slug}}ComponentAi.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
1+
<?xml version='1.0' encoding='UTF-8'?>
22
<?xml-model href="{{cookiecutter.component_path_to_fprime_root}}/../Autocoders/Python/schema/default/component_schema.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
33
<component name="{{cookiecutter.component_slug}}" kind="{{cookiecutter.component_kind}}" namespace="{{cookiecutter.component_namespace}}">
44
<!-- Example of importing a port type -->

0 commit comments

Comments
 (0)