diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2024-03-11 13:04:33 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2024-03-11 19:46:27 +0000 |
commit | 1f8530a08c0d7d8ccd7b3b4510eddceb231b11ce (patch) | |
tree | e9dcee433dea09ec30b7b316c418fc620144a860 | |
parent | 58b225ef7dc84b4314a9de20113dc35a858f6b30 (diff) | |
download | luarocks-1f8530a08c0d7d8ccd7b3b4510eddceb231b11ce.tar.gz luarocks-1f8530a08c0d7d8ccd7b3b4510eddceb231b11ce.tar.bz2 luarocks-1f8530a08c0d7d8ccd7b3b4510eddceb231b11ce.zip |
don't set up a "project environment" on make default target
Fixes #1639.
-rw-r--r-- | GNUmakefile | 2 | ||||
-rwxr-xr-x | smoke_test.sh | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/GNUmakefile b/GNUmakefile index afb79cdf..3923a145 100644 --- a/GNUmakefile +++ b/GNUmakefile | |||
@@ -23,7 +23,7 @@ all: build | |||
23 | # Base build | 23 | # Base build |
24 | # ---------------------------------------- | 24 | # ---------------------------------------- |
25 | 25 | ||
26 | build: luarocks luarocks-admin $(builddir)/luarocks $(builddir)/luarocks-admin | 26 | build: config.unix $(builddir)/config-$(LUA_VERSION).lua $(builddir)/luarocks $(builddir)/luarocks-admin |
27 | 27 | ||
28 | config.unix: | 28 | config.unix: |
29 | @echo Please run the "./configure" script before building. | 29 | @echo Please run the "./configure" script before building. |
diff --git a/smoke_test.sh b/smoke_test.sh index c8df2881..bb1a5984 100755 --- a/smoke_test.sh +++ b/smoke_test.sh | |||
@@ -15,11 +15,6 @@ tar zxvpf "$(basename "$tarball")" | |||
15 | cd "$(basename "$tarball" .tar.gz)" | 15 | cd "$(basename "$tarball" .tar.gz)" |
16 | ./configure --prefix=foobar | 16 | ./configure --prefix=foobar |
17 | make | 17 | make |
18 | ./luarocks --verbose | ||
19 | ./luarocks --verbose install inspect | ||
20 | ./luarocks --verbose show inspect | ||
21 | ./lua -e 'print(assert(require("inspect")(_G)))' | ||
22 | ./luarocks --verbose remove inspect | ||
23 | make install | 18 | make install |
24 | cd foobar | 19 | cd foobar |
25 | bin/luarocks --verbose | 20 | bin/luarocks --verbose |