diff options
| author | Jim Lawson | 2016-04-07 13:48:33 -0700 |
|---|---|---|
| committer | jackkoenig | 2016-04-09 19:07:47 -0700 |
| commit | a74bbef25f8aa4d6b43be23b3831655efad1711c (patch) | |
| tree | a3cd9dd97bd2bde0017c84839a95af6e7568f03f /Makefile | |
| parent | 084e7ca9f9ecb76b91e143931d08195d45672ab7 (diff) | |
Use find instead of sbt to determine (potential) sources.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -8,10 +8,7 @@ sbt ?= sbt stanza ?= $(install_dir)/stanza stanza_bin ?= $(install_dir)/firrtl-stanza scala_jar ?= $(install_dir)/firrtl.jar -# The following is slow but accurate. -# We use 'unmanaged' so we don't include source files generated by the -# build itself (otherwise, we'd need to include the rules to build them). -scala_src := $(shell $(sbt) "show compile:unmanaged-sources compile:unmanaged-resources" | ./sourcesFromSbt.sh ) +scala_src := $(shell find src -type f \( -name "*.scala" -o -path "*/resources/*" \)) stanza_src=$(shell ls src/main/stanza/*.stanza) all-noise: |
