Commit Graph

27 Commits

Author SHA1 Message Date
Andrei Horodniceanu 0ea0572e86 makefile: Remove stdx-allocator from imports and sources
Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
2024-05-11 20:07:03 +02:00
Andrei Horodniceanu 5ea76cd293 makefile: fix bin/dfmt-test target
Don't call the D compiler with bin/githash.txt as a source file.

Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
2024-05-11 20:07:03 +02:00
Jeremy Baxter fa463b472c improve makefile
o  add 'install' target
 o  shorten the name of INCLUDE_PATHS to IMPORTS
 o  use filename prerequisities and targets rather than phony keywords
 o  add a dependency on .git/refs/tags for the githash target
 o  add githash.txt and dfmt-test to the clean target
 o  add more targets to .PHONY
2024-02-15 10:41:02 +01:00
WebFreak001 4a6078779a Fix #568, don't output empty files without error
Now when an error in formatting happens, it never outputs anything and
doesn't override the file when working inplace.

Additionally dfmt is no longer able to fail in the middle of a file, as
now we first write everything to a buffer and only if everything was
successful, that buffer is printed to stdout or written to the inplace
file.

This should also guard against segfaults with inplace file formatting
erasing parts of the file, as well as the user thinking it was
successful, even though dfmt didn't finish properly.
2022-10-15 02:33:04 +02:00
Sebastian Wilzbach 793a575b1c Build win{32,64} binaries with LDC 2019-04-01 11:05:24 +02:00
BBasile 7fb46c9aa5 Use automatic versioning (#379)
Use automatic versioning
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-09-19 15:16:41 +02:00
Sebastian Wilzbach c4e7335850
Deploy binaries to GitHub releases (Linux/MacOS) (#348) 2018-04-23 23:17:01 +02:00
Sebastian Wilzbach fc3232308a Switch to use the frozen stdx-allocator 2018-02-11 15:20:26 +01:00
Stefan Koch d1974d95fb Build debain package using makd
- Add makd submodule

* makd ()...v2.0.1(d735c1d) (1 commits)
  > Fix calls to `find`
2017-11-06 11:37:29 +01:00
Stefan Koch 0847016346 add views/VERSION target to generate the version-number from git 2017-11-03 14:08:53 +01:00
Hackerpilot 7961bfc15f #261 2016-11-07 13:18:12 -08:00
Hackerpilot c80e1a067e Fix #199 2016-01-11 14:30:40 -08:00
Hackerpilot 480e6fe973 Use environment variables to choose compilers 2015-09-16 17:16:49 -07:00
Hackerpilot ab47fc8ffe Update libdparse 2015-08-10 17:22:17 -07:00
Hackerpilot 6fb035ff8b Fix #169 2015-08-10 16:04:56 -07:00
Andreas Zwinkau 827aec26f4 add goal for gdc 2015-08-06 23:29:55 +02:00
Andreas Zwinkau 226d2e7035 avoid rebuilding dfmt unnecessarily for test 2015-08-06 22:05:18 +02:00
Hackerpilot 5355ae1c1d Update makefile 2015-04-27 15:49:40 -07:00
Hackerpilot 340ef4c0cf Improve line wrapping algorithm 2015-03-22 23:40:23 -07:00
Hackerpilot bea04c3919 Enable optimizations in non-test builds 2015-03-20 01:54:15 -07:00
Hackerpilot 3ce5b5e7c6 Refactoring 2015-03-20 00:53:57 -07:00
Hackerpilot f99f30671c Only activate unittest in test builds 2015-02-19 18:05:01 -08:00
Hackerpilot a886dc5cd0 Silly experiment 2015-02-18 17:56:39 -08:00
Andreas Zwinkau c64ceeb60f Fix makefile dependencies 2015-01-14 21:11:56 +01:00
Hackerpilot 90fa520220 LDC build option 2015-01-13 23:47:51 -08:00
Andreas Zwinkau 1c79cf3cbf add simple test suite 2015-01-13 22:16:27 +01:00
Hackerpilot 5d324e81be Initial commit 2015-01-11 17:50:30 +00:00