Skip to content

Commit 48e9cb5

Browse files
committed
bb.edn: Bump version
1 parent 77bdb03 commit 48e9cb5

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

bb.edn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{:version "0.1"
1+
{:version "0.2"
22
:description "Utilitaires pour code.gouv.fr"
33
:url "https://git.sr.ht/~codegouvfr/codegouvfr-outils"
44
:license {:name "Eclipse Public License - v 2.0"

src/export-comptes-organismes-publics.clj

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
#!/usr/bin/env bb
22

3-
;; Set the spec file name
3+
;; Set the file name where to write the exported file
4+
(def dest-file-name "comptes-organismes-publics.yml")
5+
6+
;; Remove any previous version
7+
(shell/sh "rm" "-f" dest-file-name)
8+
9+
;; Set the main yml source file
410
(def spec-filename "https://git.sr.ht/~codegouvfr/codegouvfr-outils/blob/main/data/comptes-organismes-publics.yml")
511

612
;; Get all forges by domain names

0 commit comments

Comments
 (0)