myst-lang / myst

A structured, dynamic, general-purpose language.
http://myst-lang.org
MIT License
119 stars 17 forks source link

Misc/makefile improvements #171

Closed Jens0512 closed 6 years ago

Jens0512 commented 6 years ago

Makefile now only builds if there as been any changes to the relevant files. make spec will build bin/spec (if not otherwise specified) and run it; if it were to be run again with no changes to any files made, bin/spec will be reused. make help also looks much much better.

Jens0512 commented 6 years ago

What I am most happy with is actually the help target 😅

Jenss-MacBook-Air:myst:% make help
The main targets are:
  build                      - Builds myst into an executable
  clean                      - Cleans (deletes) docs and executables
  help                       - Show this help
  install                    - Install myst to INSTALL_LOCATION
  myst-spec                  - Runs just the in-language specs
  myst-spec_with_build       - Runs the in-language specs with MYSTBUILD
  spec                       - Runs all specs

Targets defined in local/extra.mk:
  docs                       - Generates the `crystal docs`
  list_all_files             - Lists ALL_FILES
  sentry                     - Starts sentry

The default target is 'spec'
Jens0512 commented 6 years ago

Actually don't merge just yet, realized there was no goal of running just the interpreter specs 😅

Jens0512 commented 6 years ago

There, now it should be all set for a merge

faultyserver commented 6 years ago

Awesome! Thank you, and nicely done :)