test
443 print("Failed running sass with status", status)
444 sys.exit(status)
445
446def test(verbose = False, coverage = False):447 pkgs = os.listdir("pkg")
448 for pkg in pkgs:
449 cmd = ["go", "test"]
sass
436 shutil.make_archive(release_dir, archive_type, root_dir="releases", base_dir=release_name)
437
438
439def sass(watch=False):440 npm_cmd = ["npm", "--prefix", "frontend/", "run", "watch-sass" if watch else "build-sass"]
441 status = run_cmd(npm_cmd, True, True, True)[1]
442 if status != 0:
release
411 sys.exit(status)
412
413
414def release(goos):415 set_vars(goos)
416 build(False)
417 release_name = gochan_bin + "-v" + GOCHAN_VERSION + "_" + gcos_name
eslint
399 sys.exit(status)
400
401
402def eslint(fix=False):403 print("Running eslint")
404 npm_cmd = ["npm", "--prefix", "frontend/", "run", "eslint"]
405 if fix:
js
387 print("")
388
389
390def js(watch=False):391 print("Transpiling JS")
392 mkdir("html/js/")
393 delete("html/js/gochan.js")
The module/function docstring is missing.
If you want to ignore this, you can configure this in the .deepsource.toml
file. Please refer to docs for available options.