Closed pdaengeli closed 7 years ago
No need to change the default target (unless to be able to double-click the BAT file in Windows, I guess; anyone building a WAR or static version of the site is likely to be comfortable using a command shell or similar), just specify the target as an argument:
./build.sh static ./build.sh war
Also, the war target doesn't require the site to be running, as far as I can see. I'll admit that I've never made use of either option on any real project.
Both commands are working, cool. A hint in the documentation would be helpful, I think, as a static build may be nice to make smaller projects portable and (relatively) future proof.
I agree, the war
target should work on its own.
Thanks for this contribution!
The documentation mentions the possibilities to build to
WAR
andstatic
(atcomponents.rst
), but more specific information is missing. Let me know if there is a better way to do this than what I sketched here.Btw, great to see the recent activity here!