-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the inheritance overwrites for multi-level inheritance
- Loading branch information
Showing
12 changed files
with
116 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
# 0.8.3 | ||
|
||
## Fixed | ||
|
||
- Fixed the inheritance overwrites for multi-level inheritance | ||
|
||
# 0.8.2 | ||
|
||
## Fixed | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
(name base) | ||
(description "Test template") | ||
|
||
(example_commands | ||
(commands | ||
("make deps" "Download runtime and development dependencies.") | ||
("make build" "Build the dependencies and the project.") | ||
("make test" "Starts the test runner."))) |
1 change: 1 addition & 0 deletions
1
test_bin/success/inherit-multi-override.t/base/template/base_file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Hello World! |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
$ spin new --ignore-config subdir-2 _generated | ||
|
||
🏗️ Creating a new project from test in _generated | ||
Done! | ||
|
||
🎉 Success! Your project is ready at _generated | ||
|
||
Here are some example commands that you can run inside this directory: | ||
|
||
make build | ||
Build the dependencies and the project. | ||
|
||
make test | ||
Starts the test runner. | ||
|
||
Happy hacking! | ||
|
||
|
||
$ ls _generated | ||
base_file | ||
new_file | ||
new_file_2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
(inherit (local base)) | ||
|
||
(name test) | ||
(description "Test template") | ||
|
||
(ignore (files ignored_base_file)) |
1 change: 1 addition & 0 deletions
1
test_bin/success/inherit-multi-override.t/subdir-1/template/new_file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Hello World! |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
(inherit | ||
(local subdir-1) | ||
(overwrites (example_commands))) | ||
|
||
(name test) | ||
(description "Test template") | ||
|
||
(ignore (files new_file_to_ignore)) | ||
|
||
(example_commands | ||
(commands | ||
("make build" "Build the dependencies and the project.") | ||
("make test" "Starts the test runner."))) |
1 change: 1 addition & 0 deletions
1
test_bin/success/inherit-multi-override.t/subdir-2/template/new_file_2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Hello World! |