We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b76d1d commit dc496c7Copy full SHA for dc496c7
bin/build
@@ -1,10 +1,13 @@
1
#!/bin/bash
2
3
4
-cd /scheduler
5
go get
+
6
rm -rf dist
7
mkdir -p dist
8
9
cd ./dist
-go build -o go-cron /scheduler/scheduler.go
10
11
+go build -o go-cron ../go-cron.go
12
13
tar -cf go-cron.tar.gz go-cron
bin/docker
crane.yml
@@ -0,0 +1,14 @@
+containers:
+ go-cron:
+ image: michaloo/golangdev
+ run:
+ volume:
+ - ".:/go-cron"
+ interactive: true
+ tty: true
+ workdir: "/go-cron"
+ entrypoint: /bin/bash
+ cmd:
+ - -c
+ - "bash"
14
+ rm: true
scheduler.go go-cron.go
test/run
@@ -1,3 +1,3 @@
-go run ./scheduler.go "* * * * * *" /bin/bash -c "echo 1;"
+go run ./go-cron.go "* * * * * *" /bin/bash -c "echo 1;"
0 commit comments