mirror of
https://github.com/amalgamated-tools/mirror-to-gitea.git
synced 2025-12-23 22:18:05 -05:00
bootstrap task file
This commit is contained in:
15
Taskfile.yml
Normal file
15
Taskfile.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
version: '3'
|
||||
|
||||
tasks:
|
||||
world:
|
||||
aliases: [ default ]
|
||||
cmds:
|
||||
- task: clean
|
||||
- task: test
|
||||
- task: build
|
||||
|
||||
run-local: ./run-local.sh
|
||||
|
||||
clean: npm run clean
|
||||
test: npm run test
|
||||
build: npm run build
|
||||
@@ -4,6 +4,7 @@
|
||||
"description": "mirror all your public github repositories to your gitea server",
|
||||
"main": "index.cjs",
|
||||
"scripts": {
|
||||
"clean": "rm -rf dist/",
|
||||
"build": "esbuild src/index.cjs --bundle --outdir=dist/ --platform=node",
|
||||
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user