git.fiddlerwoaroof.com
Browse code

Keep accounts.yml fresh

Edward Langley authored on 20/12/2019 20:47:24
Showing 1 changed files
... ...
@@ -12,10 +12,11 @@ CJAWSAccess.app: deliver.lisp src/*.lisp aws-access.asd addFonts.patch
12 12
 
13 13
 assets/accounts.json: accounts.yml
14 14
 	./flip-yaml.lisp accounts.yml
15
-	cp accounts.json assets/
15
+	mv accounts.json assets/
16
+	rm accounts.yml
16 17
 
17 18
 accounts.yml:
18
-	git archive --format=tar --remote=git@gitlab.cj.com:operations-chapter/aws-department.git heads/master -- accounts.yaml | tar xO accounts.yaml > ~/accounts.yml
19
+	git archive --format=tar --remote=git@gitlab.cj.com:operations-chapter/aws-department.git heads/master -- accounts.yaml | tar xO accounts.yaml > accounts.yml
19 20
 
20 21
 app.icns: icon/icon.svg
21 22
 	$(MAKE) --directory=icon