Skip to content

Bootstrap submodule support #213

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
b5b16cf
Better organize example packages and bootstrap tests
everythingfunctional Oct 14, 2020
3b99bdf
stub out a unit test
everythingfunctional Oct 14, 2020
ef7cbcd
Fix CI after moving example packages
everythingfunctional Oct 14, 2020
0a7eb98
Finish first unit test
everythingfunctional Oct 14, 2020
ed52980
Add test for Program source file name
everythingfunctional Oct 14, 2020
29356ac
Add test for program object file name
everythingfunctional Oct 14, 2020
39a5041
Fix CI scripts (for real this time)
everythingfunctional Oct 14, 2020
0a0b3ec
Clean up unit tests a bit
everythingfunctional Oct 14, 2020
d1400ee
Add test for modules a program uses
everythingfunctional Oct 14, 2020
0862a04
Try newer version of dependency to see if it builds on Windows
everythingfunctional Oct 14, 2020
89cf561
Try not running the new unit tests on Windows
everythingfunctional Oct 14, 2020
8cd42c3
Revert "Try not running the new unit tests on Windows"
everythingfunctional Oct 14, 2020
628d09a
Try newer version of hedge that hopefully builds on Windows
everythingfunctional Oct 14, 2020
1c69913
Rename first set of unit tests
everythingfunctional Oct 14, 2020
3457efd
Refactor parsing process a bit
everythingfunctional Oct 14, 2020
06798e8
Add check for program declaration before constructing Program Source
everythingfunctional Oct 14, 2020
4b062f1
Add constructor for Module Source
everythingfunctional Oct 15, 2020
c263895
Add test for module source file name
everythingfunctional Oct 15, 2020
84884be
Add test for module object file name
everythingfunctional Oct 15, 2020
134713a
Add test for modules a module uses
everythingfunctional Oct 15, 2020
311c695
Add test for a module's name
everythingfunctional Oct 15, 2020
bd27ae8
Add test for whether a module produces a .smod file
everythingfunctional Oct 15, 2020
29be28f
Add constructor for Submodule Source
everythingfunctional Oct 15, 2020
b927218
Add test for submodule source file name
everythingfunctional Oct 15, 2020
a981372
Add test for submodule object file name
everythingfunctional Oct 19, 2020
f038a09
Add test for modules a submodule uses
everythingfunctional Oct 19, 2020
28b0095
Add test for a submodule's name
everythingfunctional Oct 19, 2020
cfb8b07
Add test for source file name of program's compile time info
everythingfunctional Oct 20, 2020
078f4ca
Add test for object file of program's compile time info
everythingfunctional Oct 20, 2020
20ee233
Add test that program produces no other files
everythingfunctional Oct 20, 2020
5db397d
Add test for program's direct dependencies
everythingfunctional Oct 20, 2020
55590e7
Add tests for module's compile time info
everythingfunctional Oct 20, 2020
0799961
Split submodule name into two components
everythingfunctional Oct 20, 2020
a42d68a
Add tests for submodule's compile time info
everythingfunctional Oct 20, 2020
1830d3e
Utilize new model for build process
everythingfunctional Oct 20, 2020
bcef4a4
Make module subprogram declaration detection more explicit/restricted
everythingfunctional Oct 21, 2020
6ce0844
Put print statement in for debugging Windows
everythingfunctional Oct 21, 2020
911aec5
convert file path back to native in fileMatcher
everythingfunctional Oct 21, 2020
2562057
Add another print statement for debugging Windows
everythingfunctional Oct 21, 2020
e26feb5
convert programDirectory path to native in buildProgram
everythingfunctional Oct 21, 2020
5f16555
Add some debugging code
everythingfunctional Oct 22, 2020
e7b135b
convert buildDirectory path to native in buildProgram
everythingfunctional Oct 22, 2020
39cca4d
Merge branch 'master' into bootstrap_submodule_support
everythingfunctional Oct 22, 2020
f196336
Fix CI scripts
everythingfunctional Oct 22, 2020
03c9efc
Add test with submodule example project and fix .smod naming convention
everythingfunctional Oct 22, 2020
488bdd0
Add .gitignore file in submodules example package
everythingfunctional Oct 22, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions bootstrap/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,14 @@ tests:
- -with-rtsopts=-N
dependencies:
- fpm
fpm-unittest:
main: Trimmer.hs
source-dirs: unit_test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- fpm
- hedge
- hedge-trimmer
379 changes: 90 additions & 289 deletions bootstrap/src/Build.hs

Large diffs are not rendered by default.

Loading