~thewhodidthis/longform

ref: e29fb688439efd24b19a2c09b34579b15d9e19a7 longform/Makefile -rw-r--r-- 771 bytes
e29fb688thewhodidthis git: clear rsync ignores 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
include .env

go/run:
	env BEARER_TOKEN=${BEARER_TOKEN} go run main.go
go:
	env GOOS=openbsd GOARCH=amd64 go build
js/lint:
	deno lint client.js helper.js serviceworker.js
js/watch:
	deno bundle --import-map=imports.json client.js bundle.js --unstable --watch
js:
	deno bundle --import-map=imports.json client.js -r | \
		esbuild --bundle --minify --sourcefile=client.js --outfile=bundle.js
listen/live:
	curl -v -H "Accept: text/event-stream" https://thewhodidthis.net/001/io
listen:
	curl -v -H "Accept: text/event-stream" 127.0.0.1:8001
check/rules:
	curl -v https://api.twitter.com/2/tweets/search/stream/rules -H "Authorization: Bearer ${BEARER_TOKEN}"
push:
	rsync -Lav --rsync-path /usr/bin/openrsync ./longform zz:~/
touch:
	ssh thewhodidthis@zz "touch net@/001"