Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Mar 26, 2024
1 parent e7e3d05 commit b0b18b3
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 3,978 deletions.
12 changes: 12 additions & 0 deletions scripts/generate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@ function postprocess(filename)
lines = readlines(filename)
old_xprs_contents = read(old_xprs, String);
open(filename, "w") do io
header = """
# Copyright (c) 2016: Joaquim Garcia, and contributors
#
# Use of this source code is governed by an MIT-style license that can be found
# in the LICENSE.md file or at https://opensource.org/licenses/MIT.
#
# Automatically generated using scripts/generate.jl
#
#! format: off
"""
write(io, header)
for line in lines
if startswith(line, "#")
continue # skip
Expand Down
3 changes: 1 addition & 2 deletions src/Lib/Lib.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ module Lib
import ..Xpress
const libxprs = Xpress.libxprs

include("common.jl")
include("xprs.jl")
include("libxprs.jl")

end # Lib
Loading

0 comments on commit b0b18b3

Please sign in to comment.