Probar expresiones `glob` de la misma manera que lo hace Gitea
https://github.com/gobwas/glob
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
585 B
37 lines
585 B
# GLOB TESTER PARA GITEA
|
|
|
|
Probar expresiones `glob` de la misma manera que lo hace Gitea
|
|
|
|
<https://github.com/gobwas/glob>
|
|
|
|
## Instalar go
|
|
|
|
<https://go.dev/doc/install>
|
|
|
|
## Descargar dependencias
|
|
|
|
```pwsh
|
|
go install
|
|
```
|
|
|
|
## Build executable para windows
|
|
|
|
```pwsh
|
|
go build -o 'bin/test_glob.exe' 'test_glob.go'
|
|
```
|
|
|
|
## Usar
|
|
|
|
```bash
|
|
cd ~/repos/sia-sipa-enlace
|
|
~/repos/go/bin/test_glob.exe "nbproject/**"
|
|
#nbproject/ant-deploy.xml
|
|
#nbproject/build-impl.xml
|
|
#nbproject/genfiles.properties
|
|
#etc...
|
|
```
|
|
|
|
## TO-DO
|
|
|
|
* Ejecutable para linux
|
|
* 2do parámetro para especificar working directory
|
|
|