Merge branch 'lang_change' into 'main'
Lang change See merge request kdeng00/songparser!4
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
/target
|
29
.gitlab-ci.yml
Normal file
29
.gitlab-ci.yml
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
stages:
|
||||||
|
- build
|
||||||
|
- test
|
||||||
|
|
||||||
|
build:
|
||||||
|
stage: build
|
||||||
|
image: rust:1.85
|
||||||
|
script:
|
||||||
|
- cargo build --release
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- target/release/songparser
|
||||||
|
expire_in: 1 week
|
||||||
|
cache:
|
||||||
|
key: "cargo-cache"
|
||||||
|
paths:
|
||||||
|
- target/
|
||||||
|
- ~/.cargo/
|
||||||
|
|
||||||
|
test:
|
||||||
|
stage: test
|
||||||
|
image: rust:latest
|
||||||
|
script:
|
||||||
|
- cargo test
|
||||||
|
cache:
|
||||||
|
key: "cargo-cache"
|
||||||
|
paths:
|
||||||
|
- target/
|
||||||
|
- ~/.cargo/
|
6
Cargo.toml
Normal file
6
Cargo.toml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
[package]
|
||||||
|
name = "songparser"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2024"
|
||||||
|
|
||||||
|
[dependencies]
|
5
go.mod
5
go.mod
@@ -1,5 +0,0 @@
|
|||||||
module gitlab.com/kdeng00/songparser
|
|
||||||
|
|
||||||
go 1.24
|
|
||||||
|
|
||||||
require gitlab.com/kdeng00/icarus-models v0.0.0-20250301211149-0dc556b8a5af // indirect
|
|
4
go.sum
4
go.sum
@@ -1,4 +0,0 @@
|
|||||||
gitlab.com/kdeng00/icarus-models v0.0.0-20250301195457-d4129841771a h1:q4HT8tKGvic/TaPHS9KVmIUcIgFK3seZOXBgq0DJ2GI=
|
|
||||||
gitlab.com/kdeng00/icarus-models v0.0.0-20250301195457-d4129841771a/go.mod h1:BlZM3l3wEeR14Sv+YLTRFGF+JsfmL/VXM5vULmL9R5U=
|
|
||||||
gitlab.com/kdeng00/icarus-models v0.0.0-20250301211149-0dc556b8a5af h1:ux1P/6sbj+6JVqHdLeTeSgsSb6coFqcVOPYVsyh2Op4=
|
|
||||||
gitlab.com/kdeng00/icarus-models v0.0.0-20250301211149-0dc556b8a5af/go.mod h1:/aVv50rN3leT9wK7ztGL4osJpMOVkgpiG5YQ/am6dAo=
|
|
9
main.go
9
main.go
@@ -1,9 +0,0 @@
|
|||||||
package main
|
|
||||||
|
|
||||||
import (
|
|
||||||
"fmt"
|
|
||||||
)
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
fmt.Println("Hello")
|
|
||||||
}
|
|
3
src/main.rs
Normal file
3
src/main.rs
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
fn main() {
|
||||||
|
println!("Hello, world!");
|
||||||
|
}
|
Reference in New Issue
Block a user