File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ version = "0.1.0"
7
7
julia = " 1.6"
8
8
9
9
[deps ]
10
- JuliaSyntax = " 70703baa-626e-46a2-a12c-08ffd08c73b4 "
10
+ JuliaSyntax = " 54354a4c-6cac-4c00-8566-e7c1beb8bfd8 "
Original file line number Diff line number Diff line change @@ -11,10 +11,24 @@ using Libdl
11
11
12
12
cd(@__DIR__)
13
13
14
+ # Create a copy of JuliaSyntax so we can change the project UUID.
15
+ # This allows us to use an older version of JuliaSyntax for developing
16
+ # JuliaSyntax itself.
17
+ rm(" JuliaSyntax" , force=true, recursive=true)
18
+ mkdir(" JuliaSyntax" )
19
+ cp(" ../src" , " JuliaSyntax/src" )
20
+ cp(" ../test" , " JuliaSyntax/test" )
21
+ projstr = replace(read(" ../Project.toml" , String),
22
+ " 70703baa-626e-46a2-a12c-08ffd08c73b4" => " 54354a4c-6cac-4c00-8566-e7c1beb8bfd8" )
23
+ write(" JuliaSyntax/Project.toml" , projstr)
24
+
14
25
using Pkg
26
+ rm(" Project.toml" , force=true)
27
+ rm(" Manifest.toml" , force=true)
15
28
Pkg.activate(" ." )
16
- Pkg.develop(" JuliaSyntax" )
29
+ Pkg.develop(path= " ./ JuliaSyntax" )
17
30
Pkg.develop(path=" ./JuliaSyntaxCore" )
31
+ Pkg.add(" PackageCompiler" )
18
32
19
33
image_path = joinpath(imgs_base_path, " juliasyntax_sysimage." * Libdl.dlext)
20
34
You can’t perform that action at this time.
0 commit comments