Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Pirogov
aports
Commits
e1a6f857
Commit
e1a6f857
authored
6 years ago
by
Pedro Filipe
Committed by
Jakub Jirutka
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/ameba: upgrade to 0.8.0
parent
929916e7
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testing/ameba/APKBUILD
+4
-4
4 additions, 4 deletions
testing/ameba/APKBUILD
testing/ameba/fix-makefile.patch
+7
-7
7 additions, 7 deletions
testing/ameba/fix-makefile.patch
with
11 additions
and
11 deletions
testing/ameba/APKBUILD
+
4
−
4
View file @
e1a6f857
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname
=
ameba
pkgname
=
ameba
pkgver
=
0.
5
.0
pkgver
=
0.
8
.0
pkgrel
=
0
pkgrel
=
0
pkgdesc
=
"A static code analysis tool for Crystal"
pkgdesc
=
"A static code analysis tool for Crystal"
url
=
"https://
github.com/veelenga
/ameba"
url
=
"https://
veelenga.github.io
/ameba
/
"
arch
=
"x86_64"
# limited by crystal. build fails on aarch64
arch
=
"x86_64"
# limited by crystal. build fails on aarch64
license
=
"MIT"
license
=
"MIT"
makedepends
=
"crystal libxml2-dev shards yaml-dev"
makedepends
=
"crystal libxml2-dev shards yaml-dev"
...
@@ -29,5 +29,5 @@ package() {
...
@@ -29,5 +29,5 @@ package() {
make
install
PREFIX
=
"
$pkgdir
/usr"
make
install
PREFIX
=
"
$pkgdir
/usr"
}
}
sha512sums
=
"
12498c3ea90ee1c31ce7f45b3addf7bc1fb192223eaca4fb1e80483272f4695175cec40be6c6d3d3b8b61113c0e625e65ac0845b7ea14de2bab51f91473d7522
ameba-0.
5
.0.tar.gz
sha512sums
=
"
5ee602374f7b3c7241bfe16d0afeb74af5acf5b3530d8cac3b3b59c8c9b39e017bec018b04bdb79d973cd473ed84c07a7d8e8ed376d1f0c7ecff9a3fe48971c6
ameba-0.
8
.0.tar.gz
dde379039eebda0ea67e5a95d74af0980b316b77ca7ac426e307578358030702488a6e1e
7b
a
70
b490a5aa1eb53e144ad348cb4d75717b3601f8e8ea73b36a5fa
fix-makefile.patch"
0acb42fe00c650b801f88911457e3d83f7297719494094e868
7b
6
70
93d5641b6f892d63c603fd2d346a8db06128158ae4ace3a8a9bd5852b838c6a4d6104e9d6
fix-makefile.patch"
This diff is collapsed.
Click to expand it.
testing/ameba/fix-makefile.patch
+
7
−
7
View file @
e1a6f857
--- a/Makefile
--- a/Makefile
+++ b/Makefile
+++ b/Makefile
@@ -
2
,1
6
+
2
,19 @@
@@ -
3
,1
7
+
3
,19 @@
PREFIX ?= /usr/local
PREFIX ?= /usr/local
SHARD_BIN ?= ../../bin
SHARD_BIN ?= ../../bin
-build:
+.PHONY: build
+.PHONY: build
+
build: bin/ameba
build: bin/ameba
+
+
+
bin/ameba:
bin/ameba:
$(
CRYSTAL
_BIN) build
--no-debug -o bin/ameba src/cli.cr
$(CRFLAGS)
$(
SHARDS
_BIN) build $(CRFLAGS)
clean:
clean:
rm -f ./bin/ameba
rm -f ./bin/ameba
./bin/ameba.dwarf
-install: build
-install: build
+install: bin/ameba
+install: bin/ameba
mkdir -p $(PREFIX)/bin
mkdir -p $(PREFIX)/bin
...
@@ -24,4 +23,5 @@
...
@@ -24,4 +23,5 @@
- $(CRYSTAL_BIN) spec
- $(CRYSTAL_BIN) spec
+test: bin/ameba
+test: bin/ameba
+ $(CRYSTAL_BIN) spec $(SPEC_FLAGS)
+ $(CRYSTAL_BIN) spec $(SPEC_FLAGS)
./bin/ameba
./bin/ameba --all
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment