-
Notifications
You must be signed in to change notification settings - Fork 31
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
New build system #738
New build system #738
Conversation
b3d3fc2
to
5d6e5e1
Compare
I tried running the latest version on my Mac now. The
The To fix the problem with
Alternatively, we could use |
Hm. It would probably be better if we could avoid adding extra dependencies if we don't really need to. In this case we know that |
Yes, that worked for me (without the workaround). |
b00204c
to
009565b
Compare
c4083ce
to
4a56b15
Compare
I have a couple of major and minor questions with this PR: Major
Minor
|
Sidenote, my ideal for |
I think that answer my minor questions perfectly! Having these three tup-files is fine for the moment. If we insist on using tup (which has nice features) as our new build system, then we should also try to upstream changes to tup that make our lives easier in using the tool. Let's do open source the way it should be done 🙂 The second major question is still a bit open for me. Even though it's being piped to make, Miking is still acting as a man-in-the-middle telling make what to do. On top of this the
I still have hesitations about this. If |
ac3a0a6
to
00e9e32
Compare
23f8381
to
69e7804
Compare
1eb5bc7
to
cc81060
Compare
c9760ec
to
22f6561
Compare
22f6561
to
c120c89
Compare
c120c89
to
aff214a
Compare
This PR implements an approach for #707, that should be much more concise than the previous approach, and that additionally supports two test runners:
make
andtup
.The PR is presently a draft, for two primary reasons:
mi tune
in particular appears to not respect the--output
flag, which will cause some issuesmake
,make clean
, andmake test
. The first two should work without issue, while the last should exhibit some test failures (feel free to look into the causes and add exceptions tomisc/test-spec.mc
if you have time and/or feel responsible for them, I don't necessarily have much time to look into it presently).install
,uninstall
,lint
,fix
, andcheat
.Update:
diff
between the two implementations, but the system only allows single input tests right now, so we can't quite do that right now.symbolize.mc
, which was apparently part of the previous suite and worked, but now it does not work. I've not investigated, because no helpful error message is produced..mc
file in the repo, and this is mostly the case now, so there are many more tests than before. Some files are harder to test correctly though, e.g., the lrk generator generates parsers, but there's no convenient way to provide files to parse to test their semantics.