aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2016-02-11 15:04:40 -0200
committerHisham Muhammad <hisham@gobolinux.org>2016-02-11 15:04:40 -0200
commit9090aef04159fa8d32e359d7c38b51e09555ab23 (patch)
tree323315302a3f72e1f5dd196518f703bc94f4c51d /test
parent7a27096e5e1231cb49aedd045aa7a5f06c656cbe (diff)
parent5571c28fb73edcfc91ecdf44257481a12357c500 (diff)
downloadluarocks-9090aef04159fa8d32e359d7c38b51e09555ab23.tar.gz
luarocks-9090aef04159fa8d32e359d7c38b51e09555ab23.tar.bz2
luarocks-9090aef04159fa8d32e359d7c38b51e09555ab23.zip
Merge pull request #498 from mpeterv/improve-new-version
Make new_version work with scm rockspecs
Diffstat (limited to 'test')
-rwxr-xr-xtest/testing.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testing.sh b/test/testing.sh
index 44e78205..74b39b8f 100755
--- a/test/testing.sh
+++ b/test/testing.sh
@@ -427,6 +427,7 @@ fail_make_which_rockspec() { rm -rf ./luasocket-${verrev_luasocket} && $luarocks
427 427
428test_new_version() { $luarocks download --rockspec luacov ${version_luacov} && $luarocks new_version ./luacov-${version_luacov}-1.rockspec 0.2 && rm ./luacov-0.*; } 428test_new_version() { $luarocks download --rockspec luacov ${version_luacov} && $luarocks new_version ./luacov-${version_luacov}-1.rockspec 0.2 && rm ./luacov-0.*; }
429test_new_version_url() { $luarocks download --rockspec abelhas 1.0 && $luarocks new_version ./abelhas-1.0-1.rockspec 1.1 https://github.com/downloads/ittner/abelhas/abelhas-1.1.tar.gz && rm ./abelhas-*; } 429test_new_version_url() { $luarocks download --rockspec abelhas 1.0 && $luarocks new_version ./abelhas-1.0-1.rockspec 1.1 https://github.com/downloads/ittner/abelhas/abelhas-1.1.tar.gz && rm ./abelhas-*; }
430test_new_version_tag() { $luarocks download --rockspec luacov ${version_luacov} && $luarocks new_version ./luacov-${version_luacov}-1.rockspec --tag v0.3 && rm ./luacov-0.3-1.rockspec; }
430 431
431test_pack() { $luarocks list && $luarocks pack luacov && rm ./luacov-*.rock; } 432test_pack() { $luarocks list && $luarocks pack luacov && rm ./luacov-*.rock; }
432test_pack_src() { $luarocks install $luasec && $luarocks download --rockspec luasocket && $luarocks pack ./luasocket-${verrev_luasocket}.rockspec && rm ./luasocket-${version_luasocket}-*.rock; } 433test_pack_src() { $luarocks install $luasec && $luarocks download --rockspec luasocket && $luarocks pack ./luasocket-${verrev_luasocket}.rockspec && rm ./luasocket-${version_luasocket}-*.rock; }