mirror of https://github.com/pikami/tiktok-dl.git
parent
feee0a9154
commit
668b050dee
|
@ -33,6 +33,9 @@ jobs:
|
|||
|
||||
- name: Build
|
||||
run: npm run build:dist
|
||||
|
||||
- name: Copy license
|
||||
run: cp LICENSE out
|
||||
|
||||
- name: Upload Unix Artifacts
|
||||
if: startsWith(matrix.os, 'ubuntu-')
|
||||
|
|
|
@ -6,3 +6,4 @@ downloads
|
|||
tiktok-dl
|
||||
batch_file.txt
|
||||
debug.log
|
||||
.scannerwork
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
sonar.organization=pikami
|
||||
sonar.projectKey=tiktok-dl
|
||||
|
||||
sonar.host.url=https://sonarcloud.io
|
||||
|
||||
sonar.sources=.
|
||||
sonar.exclusions=**/*_test.go,**/node_modules/**
|
||||
|
||||
sonar.tests=.
|
||||
sonar.test.inclusions=**/*_test.go
|
||||
sonar.test.exclusions=**/node_modules/**
|
||||
sonar.go.coverage.reportPaths=cov.out
|
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2020 pikami
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
|
@ -3,12 +3,14 @@
|
|||
"version": "0.0.1",
|
||||
"scripts": {
|
||||
"install-dependencies": "go get -v -t -d ./...",
|
||||
"test:coverage": "go test -short -coverprofile=cov.out ./models ./utils",
|
||||
"test": "go test -v ./models && go test -v ./utils",
|
||||
"clean": "rm -rf out",
|
||||
"build:scraper": "node node_modules/terser/bin/terser -c -m -- scraper.js > out/scraper.js",
|
||||
"build:app": "go build -o out/ -v .",
|
||||
"build:dist": "mkdir out && npm run build:app && npm run build:scraper",
|
||||
"build": "go build -v ."
|
||||
"build": "go build -v .",
|
||||
"sonar": "sonar-scanner -Dsonar.login=${SONAR_LOGIN} -Dproject.settings=.sonar/sonar-project.properties"
|
||||
},
|
||||
"dependencies": {
|
||||
"terser": "^4.6.3"
|
||||
|
|
Loading…
Reference in New Issue