Skip to content

Commit

Permalink
use nimble c instead
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko committed Aug 29, 2024
1 parent a27d808 commit 59d7197
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions anda/langs/nim/nph/nph.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
%define debug_package %nil

Name: nph
Version: 0.6.0
Release: 1%?dist
Expand All @@ -20,10 +18,10 @@ nph is an opinionated source code formatter for the Nim language, aiming to take
%nim_prep -t:"%nim_tflags" -l:"%nim_lflags"

%build
nimble build -d:release -t:"%nim_tflags" -l:"%nim_lflags"
nimble c -d:release -t:"%nim_tflags" -l:"%nim_lflags" src/nph

%install
install -Dpm755 nph %buildroot%_bindir/nph
install -Dpm755 src/nph %buildroot%_bindir/nph

%files
%_bindir/nph
Expand Down

0 comments on commit 59d7197

Please sign in to comment.