File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import (
18
18
"strings"
19
19
)
20
20
21
- const version = "1.0.5 "
21
+ const version = "1.0.6 "
22
22
23
23
func main () {
24
24
needsSignals := true
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ func downloadTailwindCli() {
78
78
log .Fatal (fmt .Sprintf ("Unsupported OS/ARCH: %s/%s" , os , arch ))
79
79
}
80
80
fileName := fmt .Sprintf (`tailwindcss-%s` , distro )
81
- url := fmt .Sprintf (`https://github.com/tailwindlabs/tailwindcss/releases/latest/ download/%s` , fileName )
81
+ url := fmt .Sprintf (`https://github.com/tailwindlabs/tailwindcss/releases/download/v3.4.16 /%s` , fileName )
82
82
83
83
cmd := fmt .Sprintf (`curl -LO %s` , url )
84
84
process .Run (process .NewRawCommand ("tailwind-cli-download" , cmd , process .ExitOnError ))
Original file line number Diff line number Diff line change @@ -18,7 +18,14 @@ func MakeBuildable() {
18
18
func Build () {
19
19
MakeBuildable ()
20
20
21
- process .RunOrExit (process .NewRawCommand ("" , "mkdir -p ./dist" ))
21
+ _ = os .RemoveAll ("./dist" )
22
+
23
+ err := os .Mkdir ("./dist" , 0755 )
24
+
25
+ if err != nil {
26
+ fmt .Println ("Error creating dist directory" , err )
27
+ os .Exit (1 )
28
+ }
22
29
23
30
if os .Getenv ("SKIP_GO_BUILD" ) != "1" {
24
31
process .RunOrExit (process .NewRawCommand ("" , fmt .Sprintf ("go build -tags prod -o ./dist" )))
You can’t perform that action at this time.
0 commit comments