Fix the c8s import (Replace whole repo with latest content from branch rhel-8.8.0)

This commit is contained in:
Honza Horak 2023-05-23 13:20:53 +00:00 committed by Jan “Khardix” Staněk
parent 4bfe59d644
commit 873d36ab9c
3 changed files with 31 additions and 0 deletions

8
.gitignore vendored
View File

@ -1 +1,9 @@
/uglify-js-2.2.3.tgz
/uglify-js-2.2.4.tgz
/uglify-js-2.2.5.tgz
/uglify-js-2.4.13.tgz
/uglify-js-2.6.1.tar.gz
/uglify-js-2.7.0.tar.gz
/uglify-js-2.8.17.tar.gz
/uglify-js-2.8.22.tar.gz
/uglify-js-v2.8.29.tar.gz

16
tests/tests.yml Normal file
View File

@ -0,0 +1,16 @@
---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- uglify-js
tests:
# Check that the main binary can be run at all
- usable:
run: uglifyjs --version
# Check that a basic expression is correctly minified
- expression:
run: test "$(echo '1 + 1'|uglifyjs --expression)" = '1+1;'
...

7
ujs-tarball.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/sh
version=$(rpm -q --specfile --qf='%{version}\n' uglify-js.spec | head -n1)
wget https://github.com/mishoo/UglifyJS2/archive/v$version.tar.gz
tar -zxf v$version.tar.gz
cd UglifyJS2-$version
npm install && cd .. && tar -zcf uglify-js-v$version.tar.gz UglifyJS2-$version