Commit graph

17 commits

Author SHA1 Message Date
Johannes Müller
1398c0ee8f
Enhance Makefile
* `install` recipe does not rebuild binary
* Add `help` target and documentation
* Add several config variables
* Add sources as dependencies for (in-)validation

Based on template
https://gist.github.com/straight-shoota/275685fcb8187062208c0871318c4a23
2024-01-14 13:29:29 +01:00
Johannes Müller
efa9c9dba0
Makefile: Remove run_file target 2023-07-15 22:47:14 +02:00
Sijawusz Pur Rahnama
c9d25f3409 Do not run disabled rules against the codebase 2023-06-08 02:24:12 +02:00
Sijawusz Pur Rahnama
e9226c05d5 Cleanup Makefile 2023-01-02 19:08:31 +01:00
Carl Hörberg
ff97ec33f6 Build ameba with MT by default
The speed up is considerable.
2022-05-03 20:35:24 +02:00
Vitalii Elenhaupt
ecafa271ee
Freebsd compatiblity
closes #167
2021-04-04 21:16:41 +03:00
Vitalii Elenhaupt
3f54786ec6
Prevent error when run file exists 2019-11-29 21:55:24 +02:00
Vitalii Elenhaupt
4a54f6d347
Preserve run_file
closes #119
2019-11-09 23:15:01 +02:00
Vitalii Elenhaupt
276fc4409f
Let it be extensible (#112) 2019-07-18 13:53:04 +03:00
Vitalii Elenhaupt
248c5a656b
Add --all cli flag that enables all available rules 2018-07-04 15:20:35 +03:00
Johannes Müller
1cbee0686d Fix Makefile to avoid rebuild if bin/ameba exists 2018-07-03 15:54:50 +03:00
Sijawusz Pur Rahnama
5647621393 Drop --no-debug flag when building 2018-04-13 20:55:35 +03:00
Sijawusz Pur Rahnama
b225b17b5b Use shards build command 2018-04-11 15:31:20 +03:00
Vitalii Elenhaupt
c5729b1e9b
Remove --release flag
fixes #31

It is still possible to do:

```
$ CRFLAGS=--release make bin
```
2018-01-21 09:51:57 +02:00
Vitalii Elenhaupt
6a28e21162
Install binary to shard/bin folder
Just a workaround before https://github.com/crystal-lang/shards/pull/126
becomes live.
2017-11-16 10:18:11 +02:00
V. Elenhaupt
374956f3dd
Fix travis build & new rule: constant names (#14) 2017-11-05 22:08:01 +02:00
V. Elenhaupt
6ca4e38167
Ameba cli & binary (#7)
* Ameba cli & binary

* -1 when ameba found issues

* Add postscript to shard.yml

* Correct postinstall

* Remove targets

* Try executables
2017-11-01 17:21:41 +02:00